Deployment Diagram drawing order

+2 votes
asked Aug 27, 2015 in Bug by Serge Wenger Work (14,600 points)

Dear all,

With "Deployment Diagram", the drawing order is inverted (from right to left), when the node are in another element, except when the is a text on any link (change the last ling to show the difference):

@startuml
cloud "local network" as LocalNet {
node "PC1" as PC1
node "PC2" as PC2
}
 
node "Cloud Router" as CloudRouter
 
PC1 - CloudRouter
PC2 -- CloudRouter
 
'cloud "local network" as LocalNet {
node "N1" as N1
node "N2" as N2
node "N3" as N3
'}
CloudRouter -- N1
CloudRouter -- N2
'CloudRouter -- N3 : aaaaaaa
CloudRouter -- N3
@enduml
 

Best regards

1 Answer

0 votes
answered Mar 4, 2016 by habdank (420 points)

Hi,

I observed the same, but I re-ordered drawings and I got proper sequence.

In your case it would be:

node "PC 2" as PC2

node "PC 1" as PC1

and then further:

node "N 3" as N3

node "N 2" as N2

node "N 1" as N1

At least for me it was working well :-).

Best regards,

Seweryn.

commented Mar 4, 2016 by Serge Wenger Work (14,600 points)
Hi,

I reduce the problem in this sample. In the real diagram, it is not so easy to reorder all the time!!! It is a great software, but in this case this is a bug. :-(
...