I’m playing with the stateChart example, which fits perfectly to the goals of my application.
I need to add an event listener to detect when the text in the transition changes, in order to update some application data.
Thanks in advance.
I’m playing with the stateChart example, which fits perfectly to the goals of my application.
I need to add an event listener to detect when the text in the transition changes, in order to update some application data.
Thanks in advance.
That’s what the “TextEdited” DiagramEvent is for. DiagramEvent | GoJS API
Two of the Org Chart samples use this DiagramEvent. See how the onTextEdited
function is implemented in those samples – except that in your case the GraphObject.part will be a Link instead of a Node.