Search code examples
angulard3.jscytoscape.js

How to connect the elements with each other by a line Angular


How to connect the elements with a line like in the picture? When you click on one circle and then another, a line should be drawn. Maybe there is a library for this task, I've searched but haven't found anything useful. Angular.enter image description here

Update

The size of the screen should also change the line. I was also thinking of applying libraries such as d3 and cytoscape, as they seem to allow for drawing such lines. Maybe someone has some examples?


Solution

  • I found solution for me: LeaderLine