NodePositionView Class
NodePositionView provides three functionalities: - allows the user to obtain the json of the graph; - allows the user to edit and apply a json to the graph; - applies, if present, a json from widget's parameters.
Item Index
Methods
apply
()
This methods applies to each node the coordinates obtained with the getNodesPositions method.
eventManager
()
This method manages the events of the built DOM.
getNodesPositions
()
This methods builds a string describing the graph.
initialize
(
-
A
The initialization method of this object.
Parameters:
-
A
Mapmap of parameters
render
()
This method draws this module (eg. inject the DOM and elements).