plantuml icon indicating copy to clipboard operation
plantuml copied to clipboard

diagrams are a mess...

Open axd1967 opened this issue 9 years ago • 15 comments

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...

axd1967 avatar May 10 '16 08:05 axd1967

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.

fredizzimo avatar Aug 17 '16 11:08 fredizzimo

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...

axd1967 avatar Aug 17 '16 16:08 axd1967

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.

indikaPathi avatar Apr 18 '18 20:04 indikaPathi

@indikaPathi Can you give an example?

droogmic avatar Apr 22 '18 21:04 droogmic

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

axd1967 avatar Apr 23 '18 07:04 axd1967

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

  • https://forum.plantuml.net/8530/complex-container-diagrams
  • https://forum.plantuml.net/10161/class-diagram-layout-error-left-is-ignored. Especially the first problem makes plantuml unsuitable for complex architecture diagrams that show containers and stuff.

@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.

VladimirAlexiev avatar Sep 20 '19 13:09 VladimirAlexiev

@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.

nick-lehmann avatar Dec 09 '19 21:12 nick-lehmann

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

rosecky avatar Mar 20 '20 12:03 rosecky

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

gfb-47 avatar Mar 25 '21 04:03 gfb-47

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.

bbergen avatar Sep 29 '22 15:09 bbergen

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?

EdgarWesterhoven avatar Feb 01 '23 12:02 EdgarWesterhoven

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

evantill avatar Mar 18 '23 19:03 evantill

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?

windymindy avatar Jan 18 '24 12:01 windymindy

Please reopen this issue. This problem is a very large gap in PlantUML's usability.

roded avatar Oct 26 '25 06:10 roded

@rosecky @fredizzimo Current url to that discussion:

https://forum.plantuml.net/4842/graphviz-is-not-good-enough

chipbite avatar Nov 10 '25 16:11 chipbite