Hi Stoyan,
Thanks for the reply.
Quote:It sounds as if you are now excluding the containers as in the OrthogonalRouter case?
Yes, that is correct.
Quote:You can find some code that arranges the child nodes of containers here
Thanks. Part of the problem was that I didn't include the links in the list passed to the layout algorithm.
I'm almost there now, but still having an issue. I have many nodes that are connected in pairs. If I use the FlowchartLayout with the Orientation set to Horizontal, then the first pair has its notes in a row, which is what I want, roughly. However, the next pair is positioned at the right of the first pair, and I want it below it instead. Any ideas on how to achieve this? Technically, I could have more than just pairs, say even triplets, but I'd still like these to be laid out one below the other.
So not like this:
A -> B, C -> D, E -> F etc.
but like this:
A -> B
C -> D
E -> F
etc.
Can this be achieved? Maybe I should try a different layout algorithm? Should I perhaps group the nodes manually, and layout each group separately? I still need them in a big container though.
Thanks again,
-Mihai