Hello,
i want to color a node after one has clicked on it. In a way that would show a selection. i dont really need to select more than one node.
Since one can already drag nodes i guess getting the id of the clicked node isnt that complicated?
The code pieces that are available in stack overflow and various other places are extremly complicated. Not only complicated to understand but also very cumbersome to actually use outside of their example. What is the easiest way to do so?
the one example (and various variations) i have tried is this one here;
Its only useful for this example and is so weirdly constructed that using it in my project is not really possible. am i trapped to work with this example or are there better easier ways?
i only need the nodeId of the clicked node.