Class DiagramConstraints
Enables/Disables certain features of the diagram.
Inheritance
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class DiagramConstraints : Enum
Examples
<SfDiagramComponent @bind-Constraints="@diagramConstraints" />
@code
{
DiagramConstraints diagramConstraints = DiagramConstraints.Default;
}
Fields
ApiUpdate
Decides whether the public API needs to be enabled or not.
Declaration
public const DiagramConstraints ApiUpdate
Field Value
Type |
---|
DiagramConstraints |
Bridging
Specifies whether a bridge can be created for all the connectors.
Declaration
public const DiagramConstraints Bridging
Field Value
Type |
---|
DiagramConstraints |
Default
Enables all the functionalities of the diagram.
Declaration
public const DiagramConstraints Default
Field Value
Type |
---|
DiagramConstraints |
None
Disables all the functionalities of the diagram.
Declaration
public const DiagramConstraints None
Field Value
Type |
---|
DiagramConstraints |
PageEditable
Decides whether the diagram can be editable or not through ApiUpdate or UserInteraction.
Declaration
public const DiagramConstraints PageEditable
Field Value
Type |
---|
DiagramConstraints |
Pan
Specifies the panning action of the diagram on both axis.
Declaration
public const DiagramConstraints Pan
Field Value
Type |
---|
DiagramConstraints |
PanX
Enables or disables panning actions only on the x-axis (horizontal panning).
Declaration
public const DiagramConstraints PanX
Field Value
Type |
---|
DiagramConstraints |
PanY
Enables or disables panning actions only on the y-axis (vertical panning).
Declaration
public const DiagramConstraints PanY
Field Value
Type |
---|
DiagramConstraints |
Routing
Specifies whether line routing is enabled or disabled.
Declaration
public const DiagramConstraints Routing
Field Value
Type |
---|
DiagramConstraints |
Tooltip
Enables or disables the tooltip for the diagram elements(Nodes and connectors).
Declaration
public const DiagramConstraints Tooltip
Field Value
Type |
---|
DiagramConstraints |
UndoRedo
Enables or disables the undo or redo functionality over the diagram.
Declaration
public const DiagramConstraints UndoRedo
Field Value
Type |
---|
DiagramConstraints |
UserInteraction
Decides whether interaction should happen on the diagram or not.
Declaration
public const DiagramConstraints UserInteraction
Field Value
Type |
---|
DiagramConstraints |
Zoom
Specifies whether zooming-related action can be enabled or not.
Declaration
public const DiagramConstraints Zoom
Field Value
Type |
---|
DiagramConstraints |
ZoomTextEdit
Specifies whether the zooming ratio can be maintained or not while editing the label.
Declaration
public const DiagramConstraints ZoomTextEdit
Field Value
Type |
---|
DiagramConstraints |