Smrf.NodeXL.Visualization.Wpf.NodeXLControl.RemoveEdgeDuringGroupCollapseOrExpand C# (CSharp) Method

RemoveEdgeDuringGroupCollapseOrExpand() protected method

protected RemoveEdgeDuringGroupCollapseOrExpand ( IEdge oEdge, System.Boolean bUndrawEdge ) : void
oEdge IEdge
bUndrawEdge System.Boolean
return void
    RemoveEdgeDuringGroupCollapseOrExpand
    (
        IEdge oEdge,
        Boolean bUndrawEdge
    )
    {
        Debug.Assert(oEdge != null);
        AssertValid();

        if (bUndrawEdge && m_oLastGraphDrawingContext != null)
        {
            m_oGraphDrawer.UndrawEdge(oEdge, m_oLastGraphDrawingContext);
        }

        m_oGraph.Edges.Remove(oEdge);
        m_oSelectedEdges.Remove(oEdge);
    }
NodeXLControl