How to structure and arrange component and other diagrams?

+2 votes
asked Feb 19, 2014 in Closed question / help by anonymous
In a diagram, how do you structure and arrange what's generated? I figured out that you can change the order of participants in a sequence diagram to change the order at which they're drawn. This doesn't seem to work for other diagrams like component. When a package has multiple components, it will be drawn in one long line going off the 'page' unless they happen to connect to each other. How can I move components around and start new rows of components? I was thinking I could group them and make the boarder white so you don't see it, but grouping them doesn't seem to help either. Anyone have any ideas? Thanks!!

For example, this text will produce a 3 layer diagram but will put them all in line and never to the next line no matter how many there are.

package "Business Layer" {

  [J]

  [Q]

  [S]

  [R]

  [P]

  [A]

  [T]

  [C]

}

package "Data Layer" {

  [C2]

node {

  [J2]

  [MD2]

}

node {

  [T2]

  [B2]

}

node {

  [Q2]

  [QE2]

}

node {

  [R2]

  [RT2]

}

  [P2]

}

database "SQL Database" as sqlDb

[R] --> [R2]

[R] --> [RT2]

[C] --> [C2]

[J] --> [J2]

[J] --> [MD2]

[T] --> [T2]

[T] --> [B2]

[Q] --> [Q2]

[Q] --> [QE2]

[P] --> [P2]

[R2] --> sqlDb

[RT2] --> sqlDb

[C2] --> sqlDb

[J2] --> sqlDb

[MD2] --> sqlDb

[T2] --> sqlDb

[B2] --> sqlDb

[Q2] --> sqlDb

[QE2] --> sqlDb

[P2] --> sqlDb

1 Answer

+1 vote
answered Feb 25, 2018 by Anthony-Gaudino (5,740 points)

You may use invisible arrows.

Ex: A -[hidden]- B

...