Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Aligning child/parent nodes based on port/link location and not node size

$
0
0

@Charles wrote:

So it seem that the way layeredDiagraph and tree layouts align child items is based on the total size of the node’s bounds, irrespective of where the node’s to/From ports are.

Is there a way to make those layouts line items up based on those ports, rather than the node bounds (to force straight lines for links)?

e.g to go from the left hand style to the right:

I see a bunch of settings that are close to the behavior I’m looking for, but nothing quite right. I assume I’ll need to subclass tree or layeredDiagraph?

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles