Angular Diagram - edges
An array of diagram edges.
Use the edges option to populate an array of diagram edges.
jQuery
$(function() { $("#diagram").dxDiagram({ nodes: { dataSource: orgItems }, edges: { dataSource: orgLinks }, layout: "tree" }); });
dataSource
Binds the edges collection to the specified data.
The Diagram widget creates a connector between two shapes for every edge in the collection.
fromExpr
Specifies the data field that provides an edge's start node key.
The current edge's data object.
keyExpr
Specifies the data field that provides a key for an edge.
The current edge's data object.
toExpr
Specifies the data field that provides an edge's end node key.
The current edge's data object.
If you have technical questions, please create a support ticket in the DevExpress Support Center.