> I am new to canviz, and javascript... So hard stuff for me. I am able
> to click on nodes and create popups giving the node label. But what
> would make me happy, would be to be able to interactively change the
> node label and redraw the graph.
>
> My first question is how can I access and change the label attribute?
> I have to write functions in the Canviz class of canviz.js, right?
Hello Thomas. Changing a label in a graph is likely to change more than just the label. For example, if the new label is longer or shorter than the old label, the size of the node will likely change, which could affect the layout of other nodes. Therefore my intention was that if you need to change anything in a graph, you would send an AJAX message to your server, telling it to make this change in its internal representation of the graph, then render the graph through Graphviz again, then send the new xdot back to Canviz to be rendered.