DendoD96 commented on issue #18424:
URL: https://github.com/apache/echarts/issues/18424#issuecomment-1496238832

   Hello @Ovilia,
   I implemented a first version for the automatic calculation of the offset in 
case there are more edges. Currently the `offsetStep ` (i.e the distance 
between two edges) is computed based on the size of the node (line 300 of 
[multipleGraphEdgeHelper](https://github.com/DendoD96/echarts/blob/feat/straight-multiple-edge/src/chart
 /helper/multipleGraphEdgeHelper.ts)) so when zooming on the graph I recompute 
the offsets. However, since the offset is rounded down, this leads to smaller 
offsets when zoomed in. I don't know if I calculate the node size correctly, 
could you check?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to