/// <summary> /// Compares to. /// </summary> /// <param name="vertex">The vertex.</param> /// <returns></returns> public bool CompareTo(CustomVertex vertex) { if (vertex != null) { if (string.Compare(this.Text.Trim(), vertex.Text.Trim()) == 0) { return(true); } } return(false); }
/// <summary> /// Get selected vertex /// </summary> private void MyMouseRightButtonDownHandler(object sender, MouseButtonEventArgs e) { this.selectedVertex = (CustomVertex)(sender as VertexControl).Vertex; }
public virtual void UnhideEdges(CustomVertex vertex, List<CustomEdge> edgeIn, List<CustomEdge> edgesOut) { }
public virtual void AddNewEdge(CustomVertex vertexFrom, string trigger, CustomVertex vertexTo) { }
/// <summary> /// Compares to. /// </summary> /// <param name="vertex">The vertex.</param> /// <returns></returns> public bool CompareTo(CustomVertex vertex) { if (vertex != null) { if (string.Compare(this.Text.Trim(), vertex.Text.Trim()) == 0) { return true; } } return false; }
/// <summary> /// Get selected vertex /// </summary> private void MyMouseRightButtonDownHandler(object sender, MouseButtonEventArgs e) { this.selectedVertex = (CustomVertex)(sender as VertexControl).Vertex; }
public virtual void UnhideEdges(CustomVertex vertex, List <CustomEdge> edgeIn, List <CustomEdge> edgesOut) { }
public virtual void AddNewEdge(CustomVertex vertexFrom, string trigger, CustomVertex vertexTo) { }