CAN NOT set arrow direction in component diagram with "node"

0 votes
asked Oct 10, 2014 in Bug by flyisland (190 points)

with 

-----------------------------
[Component] -left-> left
[Component] -right-> right
[Component] -up-> up
[Component] -down-> down
-----------------------------

 
we got the diagram as we wish
 
but if we put the "component" into a "node"

-----------------------------
node {

  [Component]
}
[Component] -left-> left
[Component] -right-> right
[Component] -up-> up
[Component] -down-> down
-----------------------------
 
then we'll get a diagram totally different

How can I generate a component diagram with proper arrow direction with "node"?

1 Answer

0 votes
answered Oct 10, 2014 by rmric (2,790 points)
selected Oct 11, 2014 by flyisland
 
Best answer

This is a know bug about positionning in component/class diagrams.

You can workaround it as explained here: http://plantuml.sourceforge.net/qa/?qa=1132/direction-constrains-respected-between-component-package&show=2352

However, v8008 still has one bug with busy packages, see http://plantuml.sourceforge.net/qa/?qa=1628/layout-of-grouping-component

This is kind of frustrating bug since PlantUML is working so well for the rest.

...