menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Graph - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Graph

    Graph

    Inheritance
    System.Object
    Graph
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Diagram.Serializer
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class Graph

    Constructors

    Graph()

    Declaration
    public Graph()

    Properties

    Attributes

    Gets or sets the list of attributes of graph.

    Declaration
    public Dictionary<string, object> Attributes { get; set; }
    Property Value
    Type
    System.Collections.Generic.Dictionary<System.String, System.Object>

    Connectors

    Gets or sets the list of connectors value where connector are objects used to create link between two points or nodes to indicate the flow of operation or relationships between them.

    Declaration
    public List<Connector> Connectors { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<Connector>

    Constraints

    Gets or sets the constraints of graph.

    Declaration
    public GraphConstraints Constraints { get; set; }
    Property Value
    Type
    GraphConstraints

    CurrentZoom

    Gets or sets the zoom value of graph.

    Declaration
    public double CurrentZoom { get; set; }
    Property Value
    Type
    System.Double

    DrawingTool

    Gets or sets the drawing tool value to draw any kind of node or connector by clicking and dragging on the diagram page.

    Declaration
    public DrawingTool DrawingTool { get; set; }
    Property Value
    Type
    DrawingTool

    Groups

    Gets or sets the list of groups that is used to cluster multiple nodes and connectors into a single element.

    Declaration
    public List<Group> Groups { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<Group>

    HorizontalOffset

    Gets or sets the horizontal origin or left side origin of the diagram page.

    Declaration
    public double HorizontalOffset { get; set; }
    Property Value
    Type
    System.Double

    MultiplePage

    Gets or sets a value indicates whether the multiple page is enable.

    Declaration
    public bool MultiplePage { get; set; }
    Property Value
    Type
    System.Boolean

    MultipleSelectionMode

    Gets or sets the multiple selection mode value of annotation.

    Declaration
    public MultipleSelectionMode MultipleSelectionMode { get; set; }
    Property Value
    Type
    MultipleSelectionMode

    Nodes

    Gets or sets the list of nodes value where nodes are graphical objects used to visually represent the geometrical information, process flow, internal business procedure, or any other kind of data.

    Declaration
    public List<Node> Nodes { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<Node>

    PageBackgroundColor

    Gets or sets the background color of the diagram page.

    Declaration
    public string PageBackgroundColor { get; set; }
    Property Value
    Type
    System.String

    PageBorderBrush

    Gets or sets the page border color of the diagram page.

    Declaration
    public string PageBorderBrush { get; set; }
    Property Value
    Type
    System.String

    PageBorderThickness

    Gets or sets the page border thickness of the diagram page.

    Declaration
    public Thickness PageBorderThickness { get; set; }
    Property Value
    Type
    System.Windows.Thickness

    PageHeight

    Gets or sets the page height of the diagram page.

    Declaration
    public double PageHeight { get; set; }
    Property Value
    Type
    System.Double

    PageOrientation

    Gets or sets the page orientation of the diagram page.

    Declaration
    public PageOrientation PageOrientation { get; set; }
    Property Value
    Type
    PageOrientation

    PageWidth

    Gets or sets the page width of the diagram page.

    Declaration
    public double PageWidth { get; set; }
    Property Value
    Type
    System.Double

    ShowPageBreaks

    Gets or sets a value indicates whether the page break is enable.

    Declaration
    public bool ShowPageBreaks { get; set; }
    Property Value
    Type
    System.Boolean

    Swimlanes

    Gets or sets the list of swimlane object which is type of nodes, it is used to visualize the relationship between a business process elements.

    Declaration
    public List<Swimlane> Swimlanes { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<Swimlane>

    Tool

    Gets or sets the tool value where some functionalities that can be achieved by clicking and dragging on the diagram surface.

    Declaration
    public Tool Tool { get; set; }
    Property Value
    Type
    Tool

    V

    Gets or sets the version of graph.

    Declaration
    public Version V { get; set; }
    Property Value
    Type
    System.Version

    VerticalOffset

    Gets or sets the vertical origin or right side origin of the diagram page.

    Declaration
    public double VerticalOffset { get; set; }
    Property Value
    Type
    System.Double
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved