Hello,
i am implementing an ERD (Entity relationship diagram) with GoDiagram.
Unfortunately I wasn’t able to generate a reasonable layout for our ERD with goLayout.
In our Erd I am using a GoBoxNode to represent an entity.
And a GoLabeledLink to represent a relation (With Options: Style = GoStrokeStyle.Line; Orthogonal = true; ToArrow = true; AvoidsNodes = true;).
After creating the ERD I am using the GoLayoutLayeredDigraph (With Options: CycleRemoveOption = GoLayoutLayeredDigraphCycleRemove.DepthFirst;
LayeringOption = GoLayoutLayeredDigraphLayering.OptimalLinkLength; goLayout.InitializeOption = GoLayoutLayeredDigraphInitIndices.DepthFirstOut; goLayout.Iterations = 100; goLayout.AggressiveOption = GoLayoutLayeredDigraphAggressive.More;)
The problems with the result layout are:
1. Crossing links.
2. Overlapping labels (of the links).
3. Links Labels are overlapped with the nodes.
Am I doing something wrong? Home can I optimize the layout to make it readable?
Simple ERD:
Complex ERD:
Complex Erd Zoom:
Thanks,
Aviram Iny