You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it will be relevant to have a possibility for the user providing custom layout for the widget which will compute node position on every frame from node and graph state.
Several points should be noted:
Layout and drag conflicts.
Layout and user set location conflicts.
Layout is a stateful implementation, which keeps state for example in Graph wrapper.
There also should be provided a default implementation of the Layout trait.
Passing layout can be done via constructor methods or pure generics approach as it is done with NodeDisplay and EdgeDisplay.
To showcase this new feature configurable example can be used where forces simulation logic and node positions computation will become implementation of the Layout trait.
The text was updated successfully, but these errors were encountered:
I think it will be relevant to have a possibility for the user providing custom layout for the widget which will compute node position on every frame from node and graph state.
Several points should be noted:
Graph
wrapper.Layout
trait.NodeDisplay
andEdgeDisplay
.To showcase this new feature
configurable
example can be used where forces simulation logic and node positions computation will become implementation of theLayout
trait.The text was updated successfully, but these errors were encountered: