antvis / layout

Layout algorithms for graphs.
201 stars 55 forks source link

Need a way to create a Layout from the port of a node #134

Open harshaktg opened 1 year ago

harshaktg commented 1 year ago

It is clear that the model object can specify nodes and edges, and when the layout is created from it, it works perfectly. But is there a way to specify ports within the nodes - and then also specify edges that connects separate ports.

Can this use-case be solved?

zzzhanga commented 1 year ago

Yes, I also think there is a need for a function to recalculate the connection method of the port. The current layout only changes the position of the nodes