Class DiagramNode
Inheritance
System.Object
DiagramNode
Assembly: Syncfusion.EJ2.dll
Syntax
public class DiagramNode : EJTagHelper
Constructors
DiagramNode()
Declaration
Properties
AddInfo
Allows the user to save custom information/data about a node/connector
Declaration
public object AddInfo { get; set; }
Property Value
Type |
Description |
System.Object |
|
Annotations
Defines the collection of textual annotations of nodes/connectors
Declaration
public List<DiagramNodeAnnotation> Annotations { get; set; }
Property Value
BackgroundColor
Sets the background color of the shape
Declaration
public string BackgroundColor { get; set; }
Property Value
Type |
Description |
System.String |
|
BorderColor
Sets the border color of the node
Declaration
public string BorderColor { get; set; }
Property Value
Type |
Description |
System.String |
|
BorderWidth
Sets the border width of the node
Declaration
public double BorderWidth { get; set; }
Property Value
Type |
Description |
System.Double |
|
Branch
Set the branch for the mind map
Declaration
public BranchTypes Branch { get; set; }
Property Value
Children
Defines the children of group element
Declaration
public string[] Children { get; set; }
Property Value
Type |
Description |
System.String[] |
|
CollapseIcon
Defines the collapsed state of a node
Declaration
public DiagramIconShape CollapseIcon { get; set; }
Property Value
ColumnIndex
Used to define a index of column in the grid
Declaration
public double ColumnIndex { get; set; }
Property Value
Type |
Description |
System.Double |
|
Columns
Used to define the column for the grid container
Declaration
public object Columns { get; set; }
Property Value
Type |
Description |
System.Object |
|
ColumnSpan
Merge the column use the property in the grid container
Declaration
public double ColumnSpan { get; set; }
Property Value
Type |
Description |
System.Double |
|
Constraints
Enables/Disables certain features of nodes
None - Disable all node Constraints
Select - Enables node to be selected
Drag - Enables node to be Dragged
Rotate - Enables node to be Rotate
Shadow - Enables node to display shadow
PointerEvents - Enables node to provide pointer option
Delete - Enables node to delete
InConnect - Enables node to provide in connect option
OutConnect - Enables node to provide out connect option
Individual - Enables node to provide individual resize option
Expandable - Enables node to provide Expandable option
AllowDrop - Enables node to provide allow to drop option
Inherit - Enables node to inherit the interaction option
ResizeNorthEast - Enable ResizeNorthEast of the node
ResizeEast - Enable ResizeEast of the node
ResizeSouthEast - Enable ResizeSouthEast of the node
ResizeSouth - Enable ResizeSouthWest of the node
ResizeSouthWest - Enable ResizeSouthWest of the node
ResizeSouth - Enable ResizeSouth of the node
ResizeSouthWest - Enable ResizeSouthWest of the node
ResizeWest - Enable ResizeWest of the node
ResizeNorth - Enable ResizeNorth of the node
Resize - Enables the Aspect ratio fo the node
AspectRatio - Enables the Aspect ratio fo the node
Tooltip - Enables or disables tool tip for the Nodes
InheritTooltip - Enables or disables tool tip for the Nodes
ReadOnly - Enables the ReadOnly support for Annotation
Declaration
public NodeConstraints Constraints { get; set; }
Property Value
Container
Defines the type of the container
Declaration
public object Container { get; set; }
Property Value
Type |
Description |
System.Object |
|
Data
Sets the data source of the node
Declaration
public object Data { get; set; }
Property Value
Type |
Description |
System.Object |
|
DragSize
Defines the size of a drop symbol
Declaration
public object DragSize { get; set; }
Property Value
Type |
Description |
System.Object |
|
ExcludeFromLayout
Defines whether the node should be automatically positioned or not. Applicable, if layout option is enabled.
Declaration
public bool ExcludeFromLayout { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ExpandIcon
Defines the expanded state of a node
Declaration
public DiagramIconShape ExpandIcon { get; set; }
Property Value
FixedUserHandles
Specifies the collection of the fixed user handle
Declaration
public List<DiagramNodeFixedUserHandle> FixedUserHandles { get; set; }
Property Value
Flip
Flip the element in Horizontal/Vertical directions
Declaration
public FlipDirection Flip { get; set; }
Property Value
FlipMode
Allows you to flip only the node or along with port and label
Declaration
public FlipMode FlipMode { get; set; }
Property Value
Height
Sets the height of the node
Declaration
public double Height { get; set; }
Property Value
Type |
Description |
System.Double |
|
HorizontalAlignment
Sets the horizontalAlignment of the node
Declaration
public HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
Id
Represents the unique id of nodes/connectors
Declaration
public override string Id { get; set; }
Property Value
Type |
Description |
System.String |
|
Overrides
IsChild
Declaration
protected override bool IsChild { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
IsExpanded
Defines whether the node is expanded or not
Declaration
public bool IsExpanded { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
LayoutInfo
Sets the layout properties using node property
Declaration
public object LayoutInfo { get; set; }
Property Value
Type |
Description |
System.Object |
|
Margin
Defines the space to be left between the node and its immediate parent
Declaration
public DiagramMargin Margin { get; set; }
Property Value
MaxHeight
Sets the maximum height of the node
Declaration
public double MaxHeight { get; set; }
Property Value
Type |
Description |
System.Double |
|
MaxWidth
Sets the maximum width of the node
Declaration
public double MaxWidth { get; set; }
Property Value
Type |
Description |
System.Double |
|
MinHeight
Sets the minimum height of the node
Declaration
public double MinHeight { get; set; }
Property Value
Type |
Description |
System.Double |
|
MinWidth
Sets the minimum width of the node
Declaration
public double MinWidth { get; set; }
Property Value
Type |
Description |
System.Double |
|
OffsetX
Sets the x-coordinate of the position of the node
Declaration
public double OffsetX { get; set; }
Property Value
Type |
Description |
System.Double |
|
OffsetY
Sets the y-coordinate of the position of the node
Declaration
public double OffsetY { get; set; }
Property Value
Type |
Description |
System.Double |
|
Padding
Defines the space between the group node edges and its children
Declaration
public object Padding { get; set; }
Property Value
Type |
Description |
System.Object |
|
Pivot
Sets the reference point, that will act as the offset values(offsetX, offsetY) of a node
Declaration
public DiagramPoint Pivot { get; set; }
Property Value
Ports
Defines the collection of connection points of nodes/connectors
Declaration
public List<DiagramPort> Ports { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.List<DiagramPort> |
|
PreviewSize
Defines the size of the symbol preview
Declaration
public object PreviewSize { get; set; }
Property Value
Type |
Description |
System.Object |
|
RotateAngle
Sets the rotate angle of the node
Declaration
public double RotateAngle { get; set; }
Property Value
Type |
Description |
System.Double |
|
RowIndex
Used to define a index of row in the grid
Declaration
public double RowIndex { get; set; }
Property Value
Type |
Description |
System.Double |
|
Rows
Used to define the rows for the grid container
Declaration
public object Rows { get; set; }
Property Value
Type |
Description |
System.Object |
|
RowSpan
Merge the row use the property in the grid container
Declaration
public double RowSpan { get; set; }
Property Value
Type |
Description |
System.Double |
|
Shadow
Defines the shadow of a shape/path
Declaration
public DiagramShadow Shadow { get; set; }
Property Value
Shape
Defines the shape of a node
Declaration
public object Shape { get; set; }
Property Value
Type |
Description |
System.Object |
|
Style
Sets the shape style of the node
Declaration
public object Style { get; set; }
Property Value
Type |
Description |
System.Object |
|
SymbolInfo
Defines the symbol info of a connector
Declaration
public object SymbolInfo { get; set; }
Property Value
Type |
Description |
System.Object |
|
defines the tooltip for the node
Declaration
public DiagramDiagramTooltip Tooltip { get; set; }
Property Value
VerticalAlignment
Sets the verticalAlignment of the node
Declaration
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
Visible
Sets the visibility of the node/connector
Declaration
public bool Visible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Width
Sets the width of the node
Declaration
public double Width { get; set; }
Property Value
Type |
Description |
System.Double |
|
Wrapper
Sets or gets the UI of a node
Declaration
public object Wrapper { get; set; }
Property Value
Type |
Description |
System.Object |
|
ZIndex
Defines the visual order of the node/connector in DOM
Declaration
public double ZIndex { get; set; }
Property Value
Type |
Description |
System.Double |
|