I am trying to use Concept Map for one of the application,
But problem is i need to click on the element and in the onclick event i need attribute of the element.
For example, If I click a element, i need to know the key of the element and any other properties i can use to create the elements.
If the GraphObject.click property value is a function, it is called with an InputEvent and this GraphObject.
From the second argument, obj, you can get to the Node or Link via the GraphObject.part property. From there you can access the bound data via the Panel.data property.
So from an event handler you can get the bound data by obj.part.data.
On that JavaScript object you can look at any property that your app establishes on it, such as "key" or "color" or whatever.