Bind html div in a diagram

Hi, i want to create a click event which whenever the user click the nodes is it possible to bind an html div to the node in that position which is sibling to the diagram div

You can probably start from the Data Visualization sample, which also uses a sibling HTML element. In that case, it is to show a tooltip, but you can adapt the code to work on click rather than mouseovers: https://codepen.io/jhardy/pen/JjjEzwR

thanks for the quick response. I did do that, but the problem is when i scroll the diagram the div stays instead of moving

You’ll probably need to add a ViewportBoundsChanged listener function to adjust the location of the box.