I’ve got following Situation. I am using a LayeredDigraphLayout for a tree like structure for visualizing a workflow top-down, which works quite well out-of-the-box.
Now, I have to Show additional nodes which do not directly have anything do with the workflow on the right side of the diagram. These nodes represent reports/documents which may be referenced by certain nodes of the workflow (see screenshot)
My first thought was to use Groups and specify a different layout for the Group, but since the reports may be referenced by different workflow nodes which may be spread all across the diagram, I think this does not work.
My second thought and first implemantation does a Manual layout, i.e. the Report nodes have an empty layout-id and I calculate the Position manually. But now I run into collisions, i.e. two Report nodes overlap.
So now my question: what would you propose to handle such a requirement? Would it be better to somehow extend the LayeredDigraphLayout? Where would I start? Is there some documentation or api doc where I could start? Especially helpful could be sth. about finding collisions…
Thanks in advance,