Simple Graph Builder With Implicit Groups
This demo automatically builds a graph from business data using
GraphBuilder. The business data is stored in
JSON format.
The objects representing nodes reference implicit groups that are not explicitly defined
in a NodesSource.
See the Developer's Guide section on
creating a Graph from Business Data and especially
GraphBuilder for an in-depth explanation
of the relevant concepts.
See also the GraphBuilder Tutorial for a
step-by-step guide on configuring the GraphBuilder class, loading data,
and customizing graph visualizations.
GraphBuilder provides a specific set of methods that allow to configure
the builder on the given data source.
createNodesSource
- Registers a data source that represents the nodes.
createGroupNodesSource
- Registers a data source that represents the group nodes.
createEdgesSource
- Registers a data source that represent the edges that connect the nodes.
NodesSource.createChildNodesSource
-
Registers a data source that represents the child nodes for a node in the NodesSource.
NodesSource.createParentNodesSource
-
Registers a data source that represents the group node for a node in the NodesSource.