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
Proposed feature
Right now, nodes can be stretched out endlessly, which in turn can cause issues with browser-based limitations of the <canvas> element. When a canvas element is too big, it can no longer be exported as an image.
One solution would be to add a "simple" bounding box (not so simple, since it'd need to be calculated every time we move a node). A more flexible solution would be to use D3's existing physics simulation capabilities to implement gravity. This would cause nodes to be "pulled" back to the center if they exceed canvas size. Ideally, this should be simpler to implement (since it is a global configuration and not node-based) and could be accompanied by a bounding box.
The text was updated successfully, but these errors were encountered:
Proposed feature
Right now, nodes can be stretched out endlessly, which in turn can cause issues with browser-based limitations of the
<canvas>
element. When a canvas element is too big, it can no longer be exported as an image.One solution would be to add a "simple" bounding box (not so simple, since it'd need to be calculated every time we move a node). A more flexible solution would be to use D3's existing physics simulation capabilities to implement gravity. This would cause nodes to be "pulled" back to the center if they exceed canvas size. Ideally, this should be simpler to implement (since it is a global configuration and not node-based) and could be accompanied by a bounding box.
The text was updated successfully, but these errors were encountered: