Node rendering refers to the way Graph nodes are populated with a specific content extracted from the data that it represents. When using Visualizer, nodes item can be defined using :
the DefaultItemRenderer used by default and taking as parameters the Visualizer properties related to labeling and coloring (nodeLabelFields, nodeLabelTitles, firstColor, secondColor...);
a combination between a DisplayObject Class (via nodeRendererClass property) and the data extraction schema which is not mandatory (nodeRendererDataSource).
The given renderer Class will be initialized for each node and will receive as data:
the whole node data if the nodeRendererDataSource property is set to null;
the value of the node data property specified in nodeRendererDataSource property.
The class should implement the IRenderer or IDataRenderer interface to be injected with the right data.
a custom item renderer generation function (via nodeRendererFunction property) which takes as input the node data, and returns the required DisplayObject instance. This function
enables higher control on the visual rendering of each node according to its information. This way of rendering control is the basis of
the Diagrammer lib.