3 ms·
I really like plantuml, but I just wish there was a way to give layout hints to the engine. You can sort of specify the direction of arrows, but since everythi
by chme 7y ago
I really like plantuml, but I just wish there was a way to give layout hints to the engine.
You can sort of specify the direction of arrows, but since everything is a fluid layout, changing those in bigger diagrams behave very chaotic and unpredictable... I very often I just end up using other manual tools to paint those diagrams.
- jasonpeacock 7y agoThere are actually a number of layout engine hints available for compact, minimize crossings, hard angles instead of curves, top/down vs left/right, and using hidden lines to force specific relationships. It's scattered about a bit through the manual, but you can achieve most things you need. Really, there's a Zen of PlantUML where you stop trying to control it and focus on defining the relationships.
- chme 7y agoThx. I will take a look at those. What I would like is way to specify start and end row and column number of nodes. That way it would be more predictable and changing the relations of two nodes does not cause everything to change.
- hcarvalhoalves 7y agoIn some diagrams you can use ->, -->, --->, -...-> to specify "ranks" between connections. The layout engine will space accordingly, depending on the top-down or left-right hint.
- billfruit 7y agoYes, especially for statecharts, they get rendered in an ugly manner, totally different from how someone would manually lay them out. Sequence diagrams come out all right, but I wish if there was some provision to lay diagrams out for automatic page breaks for a4 size paper, for example.