private static string GetConnectorImageUrl(TreeGraphNodeType nodeType) { string result = string.Empty; ConnectorImages.TryGetValue(nodeType, out result); return(result); }
private static string GetConnectorImageUrl(TreeGraphNodeType nodeType) { string result = string.Empty; ConnectorImages.TryGetValue(nodeType, out result); return result; }
/// <summary> /// 构造方法 /// </summary> /// <param name="nodeType"></param> /// <param name="x"></param> /// <param name="y"></param> public TreeGraphConnectorNode(TreeGraphNodeType nodeType, int x, int y) : base(nodeType, x, y) { }
/// <summary> /// 构造方法 /// </summary> /// <param name="nodeType"></param> public TreeGraphConnectorNode(TreeGraphNodeType nodeType) : base(nodeType) { }
/// <summary> /// 构造方法 /// </summary> /// <param name="nodeType"></param> /// <param name="x"></param> /// <param name="y"></param> public TreeGraphNodeBase(TreeGraphNodeType nodeType, int x, int y) : this(nodeType) { this.X = x; this.Y = y; }
/// <summary> /// 构造方法 /// </summary> /// <param name="nodeType">节点类型</param> public TreeGraphNodeBase(TreeGraphNodeType nodeType) { this.NodeType = nodeType; }