Skip to main content

DiagramNodesBuilder Members

Provides methods that allow you to configure nested options of the client-side nodes object.

Constructors

Name Description
DiagramNodesBuilder(OptionsOwnerContext) For internal use only. Initializes a new DiagramNodesBuilder class instance.

Methods

Name Description
AutoLayout(DiagramDataLayoutType) Specifies an auto-layout algorithm that the UI component uses to build a diagram. Mirrors the client-side autoLayout option.
AutoLayout(Action<DiagramNodesAutoLayoutBuilder>) Specifies an auto-layout algorithm that the UI component uses to build a diagram. Mirrors the client-side autoLayout object.
AutoSizeEnabled(JS) Specifies whether or not a shape size is automatically changed to fit the text when the UI component is bound to a data source. Mirrors the client-side autoSizeEnabled object.
AutoSizeEnabled(Boolean) Specifies whether or not a shape size is automatically changed to fit the text when the UI component is bound to a data source. Mirrors the client-side autoSizeEnabled object.
ContainerChildrenExpr(JS) Specifies the name of a data source field or an expression that returns a container's nested items. Mirrors the client-side containerChildrenExpr option.
ContainerChildrenExpr(String) Specifies the name of a data source field or an expression that returns a container's nested items. Mirrors the client-side containerChildrenExpr option.
ContainerKeyExpr(JS) Specifies the name of a data source field or an expression that returns a key of a node's parent container node. Mirrors the client-side containerKeyExpr option.
ContainerKeyExpr(String) Specifies the name of a data source field or an expression that returns a key of a node's parent container node. Mirrors the client-side containerKeyExpr option.
CustomDataExpr(JS) Specifies the name of a data source field or an expression that returns a node's custom data. Mirrors the client-side customDataExpr option.
CustomDataExpr(String) Specifies the name of a data source field or an expression that returns a node's custom data. Mirrors the client-side customDataExpr option.
DataSource(JS) Binds the nodes collection to the specified data. For more information, see the Data Binding section. Mirrors the client-side dataSource option.
DataSource(IEnumerable, String[]) Binds a diagram nodes to a collection: Array, List, or IEnumerable.
DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) Binds a diagram nodes to data, allows you to configure data access from different sources: API controllers, Razor page handlers, OData services, arrays, and more.
DataSource(String, String[]) Binds a diagram nodes to read-only data in JSON format.
DataSourceOptions(Action<DataSourceOptionsBuilder>) Provides access to methods that mirror client-side data source options.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
HeightExpr(JS) Specifies the name of a data source field or an expression that returns a node's height. Mirrors the client-side heightExpr option.
HeightExpr(String) Specifies the name of a data source field or an expression that returns a node's height. Mirrors the client-side heightExpr option.
ImageUrlExpr(JS) Specifies the name of a data source field or an expression that returns an image URL or Base64 encoded image for a node. Mirrors the client-side imageUrlExpr option.
ImageUrlExpr(String) Specifies the name of a data source field or an expression that returns an image URL or Base64 encoded image for a node. Mirrors the client-side imageUrlExpr option.
ItemsExpr(JS) Specifies the name of a data source field or an expression that returns a node's child items. Mirrors the client-side itemsExpr option.
ItemsExpr(String) Specifies the name of a data source field or an expression that returns a node's child items. Mirrors the client-side itemsExpr option.
KeyExpr(JS) Specifies the name of a data source field or an expression that returns node keys. Mirrors the client-side keyExpr option.
KeyExpr(String) Specifies the name of a data source field or an expression that returns node keys. Mirrors the client-side keyExpr option.
LeftExpr(JS) Specifies the name of a data source field or an expression that returns the x-coordinate of a node's left border. Mirrors the client-side leftExpr option.
LeftExpr(String) Specifies the name of a data source field or an expression that returns the x-coordinate of a node's left border. Mirrors the client-side leftExpr option.
LockedExpr(JS) Specifies the name of a data source field or an expression whose Boolean value indicates whether a node is locked. Mirrors the client-side lockedExpr option.
LockedExpr(String) Specifies the name of a data source field or an expression whose Boolean value indicates whether a node is locked. Mirrors the client-side lockedExpr option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Option(String, Object) Specifies an option by its name.
ParentKeyExpr(JS) Specifies the name of a data source field or an expression that returns a parent node key for a node. Mirrors the client-side parentKeyExpr option.
ParentKeyExpr(String) Specifies the name of a data source field or an expression that returns a parent node key for a node. Mirrors the client-side parentKeyExpr option.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
StyleExpr(JS) Specifies the name of a data source field or an expression that returns a node style. Mirrors the client-side styleExpr option.
StyleExpr(String) Specifies the name of a data source field or an expression that returns a node style. Mirrors the client-side styleExpr option.
TextExpr(JS) Specifies the name of a data source field or an expression that returns node texts. Mirrors the client-side textExpr option.
TextExpr(String) Specifies the name of a data source field or an expression that returns node texts. Mirrors the client-side textExpr option.
TextStyleExpr(JS) Specifies the name of a data source field or an expression that returns a node's text style. Mirrors the client-side textStyleExpr option.
TextStyleExpr(String) Specifies the name of a data source field or an expression that returns a node's text style. Mirrors the client-side textStyleExpr option.
TopExpr(JS) Specifies the name of a data source field or an expression that returns the y-coordinate of a node's top border. Mirrors the client-side topExpr option.
TopExpr(String) Specifies the name of a data source field or an expression that returns the y-coordinate of a node's top border. Mirrors the client-side topExpr option.
ToString() Returns a string that represents the current object. Inherited from Object.
TypeExpr(JS) Specifies the name of a data source field or an expression that returns the shape type for a node. Mirrors the client-side typeExpr option.
TypeExpr(String) Specifies the name of a data source field or an expression that returns the shape type for a node. Mirrors the client-side typeExpr option.
WidthExpr(JS) Specifies the name of a data source field or an expression that returns a node's width. Mirrors the client-side widthExpr option.
WidthExpr(String) Specifies the name of a data source field or an expression that returns a node's width. Mirrors the client-side widthExpr option.
ZIndexExpr(JS) Specifies the name of a data source field or an expression that returns a node's z-index. Mirrors the client-side zIndexExpr option.
ZIndexExpr(String) Specifies the name of a data source field or an expression that returns a node's z-index. Mirrors the client-side zIndexExpr option.
See Also