Hi Team,
I am trying to achieve the following requirement .
To create a custom context menu with a hyperlink to some page of my application .
To fulfil the requirement I am trying to embed the hyperlink in the json I am creating to make the diagram .
The diagram would be as :
I am able to put hyperlinks as per my requirement with the link provided in the context menu but my requirement is to embed the hyperlink in the json to be created for the nodes.
If I try taking the node id and label that is displayed but the url in displayed as undefined in the context menu.
Please suggest the solution to add hyperlink in json and call as reference of hyperlink in the function for creating context menu.
For reference :
In the above snapshot I want to access the url field of the json created for the nodes.
Thanks,
Shivani Sharma