swimlane / ngx-graph

Graph visualization library for angular
https://swimlane.github.io/ngx-graph
MIT License
922 stars 285 forks source link

feat: defer display until layout provides position #509

Closed steveblue closed 1 year ago

steveblue commented 1 year ago

What kind of change does this PR introduce? (check one with "x")

What is the current behavior? (You can also link to an open issue here)

ngx-graph assigns position prior to layout dictating position.

What is the new behavior?

This feature defers nodes from displaying until after position has been assigned by a layout. The feature is opt-in by providing an @Input named deferDisplayUntilPosition and setting it to true.

Does this PR introduce a breaking change? (check one with "x")

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information: