alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Namespace Syncfusion.Maui.Diagram

    Classes

    AnnotationMapping

    One text label rendered on each data-bound node. TextPath reads the label's text from the data item; the other properties style it.

    AnnotationStyleJsonConverter

    Serializes an TextStyle to the EJ2 Diagram TextStyleModel JSON shape.

    BasicShape

    Describes a geometric basic shape for a Node. Serialized as { type: 'Basic', shape: '<name>' [, cornerRadius: n] [, points: [...] ] } in EJ2's NodeModel.

    Connector

    Represents a link between two Nodes (or between fixed points) in a SfDiagram.

    ConnectorDefaults

    Specifies default routing and styling properties for data-bound connectors in an organizational chart.

    ConnectorJsonConverter

    Serializes a Connector to the EJ2 Diagram ConnectorModel JSON shape.

    DataSourceSettings

    Provides data source and mapping configuration for organizational chart data binding.

    DecoratorSettings

    Defines the glyph drawn at one end of a Connector (see SourceDecorator and TargetDecorator).

    DecoratorSettingsJsonConverter

    Serializes a DecoratorSettings to the EJ2 Diagram DecoratorModel JSON shape.

    DiagramCollectionChangedEventArgs

    Provides data for CollectionChanged: a Node or Connector was just added to, or removed from, the diagram — one unified event for both Nodes and Connectors, regardless of what caused the change.

    DiagramConnectorConnectionChangedEventArgs

    Provides data for ConnectionChanged: a Connector's source or target endpoint just finished attaching to, detaching from, or being re-routed between nodes/ports in the WebView (EJ2's connectionChange event, "Changed" state).

    DiagramConnectorSourcePointChangedEventArgs

    Provides data for SourcePointChanged: a Connector's floating source endpoint finished being dragged in the WebView (EJ2's sourcePointChange event, "Completed" state).

    DiagramConnectorTargetPointChangedEventArgs

    Provides data for TargetPointChanged: a Connector's floating target endpoint finished being dragged in the WebView (EJ2's targetPointChange event, "Completed" state). See the remarks on DiagramConnectorSourcePointChangedEventArgs for the parallel source-side behaviour — these two types exist separately because they describe different ends of the same connector, and bundling them into one event with a discriminator would force subscribers to branch on it for otherwise-identical handling.

    DiagramElement

    Common base class for every model object that participates in the diagram's JSON sync (Node, Connector, Annotation, and their nested style/decorator objects). Bubbles property changes on nested objects up to the owning top-level element so that SfDiagram only has to listen once per Node/Connector to know it needs to be re-synced with the JavaScript side.

    DiagramExportOptions

    Options for ExportDiagram(DiagramExportOptions?) and Print(DiagramExportOptions?).

    DiagramExportOptionsJsonConverter

    Serializes a DiagramExportOptions to the EJ2 Diagram ExportOptions JSON shape.

    DiagramJavaScriptErrorEventArgs

    Provides data for JavaScriptError: an exception thrown inside the hosted page's window.SfDiagram wrapper while handling a call from native code (for example, init, addNode, updateLayout).

    DiagramLayout

    Configures automatic arrangement of a SfDiagram's nodes and connectors.

    DiagramLayoutJsonConverter

    Serializes a DiagramLayout to the EJ2 Diagram LayoutModel JSON shape ({ type, orientation, horizontalSpacing, verticalSpacing, root, fixedNode, margin, horizontalAlignment, verticalAlignment, enableAnimation }) used by both the init payload and window.SfDiagram.updateLayout(). Without this converter, reflection-based serialization emitted PascalCase property names with numeric enums (and MAUI Microsoft.Maui.Thickness internals), which EJ2 silently ignores — layout updates appeared to do nothing (see DiagramManager.UpdateLayoutAsync).

    DiagramNodePositionChangedEventArgs

    Provides data for PositionChanged: a Node just finished being dragged to a new position in the WebView.

    DiagramNodeRotationChangedEventArgs

    Provides data for RotationChanged: a Node just finished being rotated in the WebView.

    DiagramNodeSizeChangedEventArgs

    Provides data for SizeChanged: a Node just finished being resized in the WebView.

    DiagramPoint

    Represents a 2-D point in the diagram's coordinate system, used as the Offset value that positions a port relative to its owning Node.

    DiagramSelectionChangedEventArgs

    Provides data for SelectionChanged: the diagram's selection just changed in its UI. Carries both the previously-selected and the now-selected Nodes and Connectors against this manager's own tracked instances, so subscribers don't need to reconcile against the live selection themselves.

    DiagramState

    A deserialized diagram: the Nodes and Connectors reconstructed by Deserialize(string), ready to be added to Nodes/Connectors (or, more simply, passed to LoadDiagram(string), which does exactly that).

    DiagramStateSerializer

    Serializes Nodes/Connectors to a JSON document that can be written to disk and later reloaded, and reconstructs them back into live model objects. Powers Syncfusion.Maui.Diagram.SfDiagram.GetDiagramState(System.Boolean)/LoadDiagram(string), and can also be called directly if you want the JSON without touching SfDiagram at all (for example, to save it from a background thread, or unit-test a round trip).

    DiagramStyleJsonConverter

    Serializes a ShapeStyle to the EJ2 Diagram ShapeStyleModel JSON shape.

    DiagramTextEditedEventArgs

    Provides data for TextEdited: which Content was just updated as a result of a double-tap/double-click label edit committed in the WebView, on which owning Node or Connector, and with what text (both before and after).

    ExpandIcon

    The icon shown on an expandable node while it is expanded (ExpandIcon) or collapsed (CollapseIcon).

    ExpandStateChangeEventArgs

    Provides data for the ExpandStateChange event.

    FlowShape

    Describes a flowchart symbol for a Node. Serialized as { type: 'Flow', shape: '<name>' } in EJ2's NodeModel.

    LayoutInfoMapping

    Maps properties of the data items bound via DataSource to per-item layout configuration. Each property is the CLR property name on the data item; accepted values are the matching enum, its case-insensitive name as a string, or null.

    LayoutUpdatedEventArgs

    Provides data for the LayoutUpdated event.

    LayoutValidationEventArgs

    Provides data for the LayoutValidationFailed event.

    LayoutValidationIssue

    One data problem detected (and deterministically repaired) while preparing an organizational chart.

    Node

    Represents a single shape in a SfDiagram.

    NodeBase

    Abstract base class for the two first-class diagram elements: Node and Connector. Holds the properties that both share — Id, Style, AddInfo, and Syncfusion.Maui.Diagram.NodeBase.IsSelected — so that application code and DiagramManager internals can refer to either kind of element through a single typed reference where the concrete subtype does not matter.

    NodeDefaults

    Specifies default styling and shape properties for data-bound nodes in an organizational chart.

    NodeJsonConverter

    Serializes a Node to the EJ2 Diagram NodeModel JSON shape.

    Palette

    One category (an expandable, titled group of symbols) in a SymbolPalette.

    PaletteJsonConverter

    Serializes a Palette to the EJ2 Diagram PaletteModel JSON shape.

    PathAnnotation

    Represents a text label attached to a Node or a Connector.

    PathAnnotationJsonConverter

    Serializes a PathAnnotation to the EJ2 Diagram PathAnnotationModel JSON shape.

    PointPort

    Represents a named connection point on a Node that a Connector can attach to precisely, instead of connecting to the node's boundary in general.

    PointPortJsonConverter

    Serializes a Port to the EJ2 Diagram PointPortModel JSON shape.

    Port

    Represents a named connection point on a Node that a Connector can attach to precisely, instead of connecting to the node's boundary in general.

    SfDiagram

    Keeps Connectors in sync with the JavaScript-side diagram. See the remarks on SfDiagram's Nodes counterpart (SfDiagram.Nodes.cs) for the general approach.

    Shape

    Abstract base for all diagram node shape descriptors. Assign a concrete subtype — BasicShape or FlowShape — to Shape to control what EJ2 renders for that node.

    ShapeAnnotation

    Represents a text label attached to a Node or a Connector.

    ShapeAnnotationJsonConverter

    Serializes a ShapeAnnotation to the EJ2 Diagram ShapeAnnotationModel JSON shape.

    ShapeStyle

    Defines the fill and stroke appearance shared by Node and Connector.

    SymbolPalette

    A categorized, draggable palette of node templates that a user can drop onto a sibling SfDiagram.

    TextStyle

    Defines the text and background appearance of an Annotation.

    TreeInfo

    Describes how a manager node's children are arranged in an organizational chart, and the node's own role. Assign to LayoutInfo (manual nodes) or use as LeafLayoutInfo. Null properties mean "use the EJ2 default".

    Enums

    ConnectorSegmentType

    Defines how a Connector routes between its source and target.

    DecoratorShape

    Defines the glyph drawn at a connector's source or target end.

    DiagramExportFormat

    The image format produced by ExportDiagram(DiagramExportOptions?).

    DiagramExportRegion

    Which area of the diagram ExportDiagram(DiagramExportOptions?) captures.

    DiagramLayoutType

    The automatic arrangement algorithm applied to a diagram's nodes and connectors.

    DiagramPageOrientation

    The page orientation used when exporting/printing with PageSettings or MultiplePage.

    DiagramPaletteExpandMode

    Whether more than one category in a SfDiagram's symbol palette can be expanded at once.

    ExpandStateChangeSource

    What caused an expand/collapse state change reported by ExpandStateChange.

    HorizontalAlignment

    Defines the horizontal placement of an ShapeAnnotation and PathAnnotation relative to its offset point.

    IconShapeModel

    The built-in shape drawn for a node's expand/collapse icon.

    LayoutHorizontalAlignment

    Horizontal alignment of the layout within the diagram page.

    LayoutOrientation

    The direction a tree-shaped DiagramLayoutType grows in.

    LayoutUpdateTrigger

    What caused a layout pass reported by LayoutUpdated.

    LayoutValidationIssueKind

    The kind of data problem found while preparing an organizational chart for layout.

    LayoutVerticalAlignment

    Vertical alignment of the layout within the diagram page.

    NodeBasicShapes

    Identifies the specific geometry drawn for a BasicShape node.

    NodeFlowShapes

    Identifies the specific flowchart symbol drawn for a FlowShape node.

    NodeShapes

    Identifies which family a Shape belongs to, used as the EJ2 shape.type discriminator when serializing to the JavaScript bridge.

    OrganizationalRole

    A node's role in the organizational chart. An Assistant child is placed on a dedicated branch between its manager and the manager's other reports.

    PortVisibility

    Defines when a Port is actually drawn.

    SubTreeAlignments

    How a manager's children are aligned within the sub-tree. Valid combinations per orientation: Vertical → Left/Right/Alternate; Horizontal → Left/Right/Center/Balanced. Mirrors EJ2 Diagram's getLayoutInfo options.type values.

    SubTreeOrientation

    The orientation of a manager's sub-tree in an organizational chart layout — the axis along which the manager's children are arranged. Mirrors EJ2 Diagram's getLayoutInfo options.orientation values.

    VerticalAlignment

    Defines the vertical placement of an ShapeAnnotation and PathAnnotation relative to its offset point.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved