I have developed a diagram using LayeredDigraphLayout. In the diagram, I do have a few connected nodes and a few non-relational nodes. If I do use LayeredDigraphLayout after displaying all the connected nodes, it displays the rest of the distinct nodes one after another. Currently, it is looking like this:
I would like to print all the connected nodes using LayeredDigraphLayout, and after that would like to show the rest of the nodes in multiple horizontal (something like the GridLayout) lines. What could be the best possible way to achieve this?