views:

608

answers:

1

Hi there I want to have a uml sequence diagram with dot language, now I have the following problem I want to have the layout as follows with a, b, c and d in a straight line at top but with the lines going straight to the bottom. How can I achieve that?

a   b   c   d
|   |   |   | 
|   |   |   |

perhaps can I achieve that the a, b, c and d with its belonging edges are clusters where I set a different rankdir for the clusters?

EDIT Just found a solution by adding invisible edges between a, b, c and d but any other solutions?

+2  A: 
Dave Webb
ah sorry for sure when you now add d2 -> a2 I still want to be a, b, c and d on top but a1, a2, a3 still in one line as above
Xelluloid
Have edited the answer to cover this.
Dave Webb