chevron_right Demos chevron_right Adjacency Graph Builder
Related demos
Book a live Demo

Live Demo — yFiles in Action

30–45 min | Online | No install required

For Developers, Product Mangers & Executives

  • Interactive graph visualization in real time
  • Integration example
  • Live Q&A and next step recommendations

30–45 minutes | 1:1 or team session

Book a free live demo

Live Demo — yFiles in Action

30–45 min | Online | No install required

For Developers, Product Mangers & Executives

30–45 minutes | 1:1 or team session

Book a free live demo

Graph Builder Settings

Adjacency Graph Builder Demo

This demo interactively builds and modifies a graph from JSON business data using class AdjacencyGraphBuilder.

See the Developer's Guide section on the AdjacencyGraphBuilder for an in-depth explanation of the relevant concepts.

See also the Tutorial: Graph Builder for a step-by-step guide on configuring the AdjacencyGraphBuilder class, loading data, and customizing graph visualizations.

The demo allows to define nodes sources and edges bindings using the schema graph component on the right. The schema nodes represent nodes sources. The schema edges represent the edge bindings between the nodes sources. The edge arrows indicate the type of the edge. An arrow pointing away from a node indicates outgoing edges to successor nodes. An arrow pointing towards a node indicates incoming edges from predecessor nodes.

Things to Try

Note: This demo shows only parts of the AdjacencyGraphBuilder API. In addition to the functionality available in this demo, the AdjacencyGraphBuilder allows to reference nodes by their ids and edges may be defined by their own edge data items.

Since this demo evaluates the complete data source texts every time a source is edited, Update Graph works as expected only for node data items of primitive type or if the node id binding resolves to primitive ids. Note that this restriction applies only to the demo, not the class AdjacencyGraphBuilder.