Hi there. We are currently evaluating the use of GoJS for the implementation of some Oil and Gas visualisations. So far we have successfully used the page flow diagram to provide a visualisation of risks and consequences within our application. To complete the evaluation we need to be able to allow a user initiate a click event within the node which would then show or hide a DIV which is on the HTML page but not a part of the diagram or palette DIV.
To put this in the context of the example given on the demo page (https://gojs.net/latest/samples/pageFlow.html) what we’d need to happen is, for example:
- Allow the user to click the referral node ({ “key”: -2, “category”: “Source”, “text”: “Referral” },)
- On clicking the node toggle the visibility of a DIV on the page
It sounds simple but I’m not seeing an example or API for how we would do this - can anyone help?