DirectGraph Layout not starting from origin(0,0) in autoResize:true ,borderless:true paperScroller #2534
-
IntroductionMy current paper scroller settings Directed Graph layout.DirectedGraph.layout(graph, { In this scenario,my diagram starts from a large offset from top and left (0,0).The customer wants it starting almost near 0,0(origin).Please suggest solution for the same. Steps to reproduceNo response Restrictions & ConstraintsNo response Does your question relate to JointJS or JointJS+. Select both if applicable.JointJS+ |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 18 replies
-
Set |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Perhaps you can redefine the
computeRequiredPadding()
as follows: