segrada icon indicating copy to clipboard operation
segrada copied to clipboard

Arrow heads on edges cover node labels

Open StoltHD opened this issue 3 years ago • 1 comments

The arrow head of an edge is covering part of a nodes label text when the edge cross the label.

The edge and arrow heads should be layered under the nodes labels, not over them, it looks very messy when you start to get a lot of edges to a node. In addition so will any arrow heads pointing to other nodes in the near neighbor area also cover other nodes labels (this has something to do with the length of the edge, if there is some length to a nodes label, the distance between edges can be somewhat short, and both the arrow head of edges and the label of other nodes will cover the labels of other nodes.

Same happens with the labels of edges. Regarding labels of edges I think it would be cleaner if the label followed the edge instead of being horizontal.

Here is a screenshot of a small graph, showing most of the problems.. image

StoltHD avatar Aug 31 '21 09:08 StoltHD

This is a vis.js related problem: Created an issue there https://github.com/visjs/vis-network/issues/1600

mkalus avatar Aug 31 '21 11:08 mkalus