VivaGraphJS icon indicating copy to clipboard operation
VivaGraphJS copied to clipboard

Attach text to markers on links

Open richa2008 opened this issue 9 years ago • 1 comments
trafficstars

Hi,

I have added markers on the links connecting two nodes using svg marker elements.Now I want to add text beside those markers showing the value for those particular markers.

Is there any way out to add text beside svg markers.Please help.

Thanks, Richa

richa2008 avatar Aug 31 '16 07:08 richa2008

Seems like this is pure SVG question, not specific to vivagraph... I'd recommend to try to achieve this in pure SVG first (or ask for help on StackOverflow).

You could also just attach text based on node position using layout.getNodePosition().

anvaka avatar Sep 04 '16 23:09 anvaka