Class DiagramConnector
Inheritance
System.Object
DiagramConnector
Assembly: Syncfusion.EJ2.dll
Syntax
public class DiagramConnector : EJTagHelper
Constructors
DiagramConnector()
Declaration
public DiagramConnector()
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
Declaration
public List<DiagramConnectorAnnotation> Annotations { get; set; }
Property Value
BridgeSpace
Defines the bridgeSpace of connector
Declaration
public double BridgeSpace { get; set; }
Property Value
Type |
Description |
System.Double |
|
ConnectionPadding
Sets the connector padding value
Declaration
public double ConnectionPadding { get; set; }
Property Value
Type |
Description |
System.Double |
|
Constraints
Defines the constraints of connector
None - Interaction of the connectors cannot be done.
Select - Selects the connector.
Delete - Delete the connector.
Drag - Drag the connector.
DragSourceEnd - Drag the source end of the connector.
DragTargetEnd - Drag the target end of the connector.
DragSegmentThump - Drag the segment thumb of the connector.
AllowDrop - Allow to drop a node.
Bridging - Creates bridge on intersection of two connectors.
InheritBridging - Creates bridge on intersection of two connectors.
PointerEvents - Sets the pointer events.
Tooltip - Displays a tooltip for the connectors.
InheritToolTip - Displays a tooltip for the connectors.
Interaction - Features of the connector used for interaction.
ReadOnly - Enables ReadOnly
Declaration
public ConnectorConstraints Constraints { get; set; }
Property Value
CornerRadius
Sets the corner radius of the connector
Declaration
public double CornerRadius { get; set; }
Property Value
Type |
Description |
System.Double |
|
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 |
|
FixedUserHandles
Specifies the collection of the fixed user handle
Declaration
public List<DiagramConnectorFixedUserHandle> FixedUserHandles { get; set; }
Property Value
Flip
Flip the element in Horizontal/Vertical directions
Declaration
public FlipDirection Flip { get; set; }
Property Value
HitPadding
Sets the connector padding value
Declaration
public double HitPadding { get; set; }
Property Value
Type |
Description |
System.Double |
|
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
Margin
Defines the space to be left between the node and its immediate parent
Declaration
public DiagramMargin Margin { get; set; }
Property Value
PreviewSize
Defines the size of the symbol preview
Declaration
public object PreviewSize { get; set; }
Property Value
Type |
Description |
System.Object |
|
Segments
Declaration
public object Segments { get; set; }
Property Value
Type |
Description |
System.Object |
|
Shape
Defines the shape of the connector
Declaration
public object Shape { get; set; }
Property Value
Type |
Description |
System.Object |
|
SourceDecorator
Defines the source decorator of the connector
Declaration
public DiagramDecorator SourceDecorator { get; set; }
Property Value
SourceID
Sets the source node/connector object of the connector
Declaration
public string SourceID { get; set; }
Property Value
Type |
Description |
System.String |
|
SourcePadding
Sets the source padding of the connector
Declaration
public double SourcePadding { get; set; }
Property Value
Type |
Description |
System.Double |
|
SourcePoint
Sets the beginning point of the connector
Declaration
public DiagramPoint SourcePoint { get; set; }
Property Value
SourcePortID
Sets the unique id of the source port of the connector
Declaration
public string SourcePortID { get; set; }
Property Value
Type |
Description |
System.String |
|
Style
Defines the appearance of the connection path
Declaration
public DiagramStrokeStyle Style { get; set; }
Property Value
SymbolInfo
Defines the symbol info of a connector
Declaration
public object SymbolInfo { get; set; }
Property Value
Type |
Description |
System.Object |
|
TargetDecorator
Defines the target decorator of the connector
Declaration
public DiagramDecorator TargetDecorator { get; set; }
Property Value
TargetID
Sets the target node/connector object of the connector
Declaration
public string TargetID { get; set; }
Property Value
Type |
Description |
System.String |
|
TargetPadding
Sets the target padding of the connector
Declaration
public double TargetPadding { get; set; }
Property Value
Type |
Description |
System.Double |
|
TargetPoint
Sets the end point of the connector
Declaration
public DiagramPoint TargetPoint { get; set; }
Property Value
TargetPortID
Sets the unique id of the target port of the connector
Declaration
public string TargetPortID { get; set; }
Property Value
Type |
Description |
System.String |
|
defines the tooltip for the connector
Declaration
public DiagramDiagramTooltip Tooltip { get; set; }
Property Value
Type
Defines the type of the connector
Straight - Sets the segment type as Straight
Orthogonal - Sets the segment type as Orthogonal
Bezier - Sets the segment type as Bezier
Declaration
public Segments Type { get; set; }
Property Value
Visible
Sets the visibility of the node/connector
Declaration
public bool Visible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Wrapper
Defines the UI of the connector
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 |
|