joel-wenzel / ng-flowchart

A lightweight Angular Library for building drag and drop flow charts. Chart behavior and steps are customizable. Data can be exported or uploaded in json format.
Apache License 2.0
141 stars 49 forks source link

Rendering and positioning issue #85

Open cshenilpatel opened 1 year ago

cshenilpatel commented 1 year ago

We have utilized your library and made certain modifications to align with our specific requirements. While many of these adjustments have proven successful, we are currently grappling with challenges related to the rendering and positioning of our diagrams. Specifically, we have noticed that when new branches are introduced in decision steps, the diagram tends to shift towards one side. To illustrate the multiple parent behavior of the diagram, we have manually added connectors (highlighted) below the children of the decision node. It's worth noting that these modifications have not impacted your original library.

We are eager to find a solution that enables us to render the diagram at the center of the canvas. Could you kindly provide guidance on achieving this? Your insights would be greatly appreciated.

Screenshot 2023-08-28 170717