plantuml / plantuml

Generate diagrams from textual description
https://plantuml.com
Other
9.73k stars 881 forks source link

diagrams are a mess... #13

Closed axd1967 closed 1 year ago

axd1967 commented 8 years ago

the concept is nice, but it has one huge drawback: there is no way to more finely control diagram layouts.

result:

plantuml

in other words, PlantUML is unusable in anything more than trivial.

I'm afraid this is more a rant than a problem, but please find a way to prevent such a spaghetti...

fredizzimo commented 7 years ago

Hi @axd1967,

I have the same problem as you, PlantUML is simply not very useful for anything more than trivial things.

However I believe the problem is solvable for most parts at least. And I made a proposal and feature request here http://plantuml.sourceforge.net/qa/?qa=4842/graphviz-is-not-good-enough.

If you are willing to provide the source code for your diagram, I could run it through the same algorithms, and see what it would provide.

axd1967 commented 7 years ago

diving into git does not let me find back that diagram... I should have parked it as a branch (or publish the code), but I can't find it back, sorry...

indikaPathi commented 6 years ago

Any progress on this thread? PlantUML is useful for sequence diagrams. However for component diagrams it draws spaghetti as soon as you have more than a handful of components . Not really what you want to show in a design review or in documentation.

droogmic commented 6 years ago

@indikaPathi Can you give an example?

axd1967 commented 6 years ago

(as a side note, if diagrams get messy, maybe that's an indication that they could/should be simplified / split into more elementary ones/...)

VladimirAlexiev commented 4 years ago

I also have layout problems and would love to see progress on this:

@axd1967 if you give the original png, we can extract the puml source with java -jar plantuml.jar -metadata image.png But the image on top is not original puml output.

nick-lehmann commented 4 years ago

@fredizzimo even if it's been a long time, do you still have the code you used to generate your examples? The images look very promising and could solve many issues I have with large class diagrams.

rosecky commented 4 years ago

Would also very much appreciate some progress on this: https://forum.plantuml.net/4842/graphviz-is-not-good-enough

gfb-47 commented 3 years ago

Here there is some solutions that might help:

adding hidden lines a -[hidden]- b
extending the length of a line a --- b (more dashes, longer line)
specifying preferred direction of lines (a -left- b)
swapping association ends (a -- b → b -- a)
changing the order of definitions (the order does matter... sometimes)
adding empty nodes with background/border colors set to Transparent

by: https://stackoverflow.com/questions/48712801/how-to-correct-plantuml-line-path

bbergen commented 1 year ago

Just want to add my support for this issue. I use PlantUML extensively at work, and it's fantastic for simple diagrams but the rendering gets terribly cluttered as soon as the diagram gets moderately complex.

It's frustrating because most of the times I can see obvious ways to manually layout the diagram better than Graphviz is.

My team and I have tried using all the layout tricks to force boxes one way or another, but it rarely produces something ideal.

EdgarWesterhoven commented 1 year ago

I maybe late to the discussion, but cannot seem to access the forum to see some of the suggestions (not even from the https://plantuml.com/ website directly). Was this abandonned?

evantill commented 1 year ago

@arnaudroques Maybe we could convert this issue into a github discussion ?

windymindy commented 4 months ago

For a moment I started to think that I figured custom layouting. plantuml.com editor example But it breaks as I add associations. Why the issue is closed?