I find node DOM coordinate and canvas coordinate are different in vis-network. There are 4 nodes in diagram A. Then remove one node and make diagram B with the same options as well as A. The 3 nodes' location in diagram B are different with the 3 nodes in diagram A. I find they have the same canvas coordinate and diffrent DOM coordinate. I want they have the same DOM coordinate as well as canvas.
There is a demo. When right click the diagram, delete a node. Remaining nodes' locations change.
<!doctype html>
I find node DOM coordinate and canvas coordinate are different in vis-network. There are 4 nodes in diagram A. Then remove one node and make diagram B with the same options as well as A. The 3 nodes' location in diagram B are different with the 3 nodes in diagram A. I find they have the same canvas coordinate and diffrent DOM coordinate. I want they have the same DOM coordinate as well as canvas. There is a demo. When right click the diagram, delete a node. Remaining nodes' locations change. <!doctype html>