Class DiagramUtility
Utility class represents the diagram objects updation at runtime
Inheritance
System.Object
DiagramUtility
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ.Web.dll
Syntax
public static class DiagramUtility
Methods
GenerateConnector(Dictionary<String, Object>, Connector)
Declaration
public static Connector GenerateConnector(Dictionary<string, object> connProp, Connector connector)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
connProp |
|
Connector |
connector |
|
Returns
GenerateDiagramConnector(Dictionary<String, Object>, DiagramConnector)
Declaration
public static DiagramConnector GenerateDiagramConnector(Dictionary<string, object> connProp, DiagramConnector connector)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
connProp |
|
DiagramConnector |
connector |
|
Returns
ToEnum<T>(String)
Declaration
public static T ToEnum<T>(string str)
Parameters
Type |
Name |
Description |
System.String |
str |
|
Returns
Type Parameters
UpdateGroup(Dictionary<String, Object>, Group)
Declaration
public static Group UpdateGroup(Dictionary<string, object> nodeProp, Group node)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
nodeProp |
|
Group |
node |
|
Returns
UpdateGroup(Dictionary<String, Object>, DiagramGroup)
Declaration
public static DiagramGroup UpdateGroup(Dictionary<string, object> nodeProp, DiagramGroup node)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
nodeProp |
|
DiagramGroup |
node |
|
Returns
UpdateLabel(Dictionary<String, Object>, TextBlock)
Declaration
public static void UpdateLabel(Dictionary<string, object> prop, TextBlock lbl)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
prop |
|
TextBlock |
lbl |
|
UpdateLabel(Dictionary<String, Object>, DiagramLabel)
Declaration
public static void UpdateLabel(Dictionary<string, object> prop, DiagramLabel lbl)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
prop |
|
DiagramLabel |
lbl |
|
UpdateLabels(Dictionary<String, Object>, Collection)
Declaration
public static void UpdateLabels(Dictionary<string, object> nodeProp, Collection labels)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
nodeProp |
|
Collection |
labels |
|
UpdateNode(Dictionary<String, Object>, Node)
Declaration
public static Node UpdateNode(Dictionary<string, object> nodeProp, Node node)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
nodeProp |
|
Node |
node |
|
Returns
UpdateNode(Dictionary<String, Object>, DiagramNode)
Declaration
public static DiagramNode UpdateNode(Dictionary<string, object> nodeProp, DiagramNode node)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
nodeProp |
|
DiagramNode |
node |
|
Returns