Adding Components to Canvas

Hi @stucork,

That was excellent! Your popover contribution has helped me a lot.

I’ve been meaning to ask, if it is possible to set the position of the popover dynamically?

For example, I have a function that draws with canvas a tree graph just like in the picture below. What I want to do is, when I click one of the numbers of the graph (eg ‘1505’), a popover to be shown below of it, just like if it was a link or a button. Right now I have only managed to show the popover below of the canvas, and when I right-click on it and select Inspect, I could change its position in element.style {
top: 754px;
left: 150px;
display: block;
} Picture below

Is there any way to set the element.style programmatically? If yes, then it will be easy for me to tell the popover to pop in the right position in the canvas, since I know the position of every element.