Smrf.NodeXL.Visualization.Wpf.GraphDrawer.GraphDrawer C# (CSharp) Method

GraphDrawer() public method

Initializes a new instance of the GraphDrawer class.
public GraphDrawer ( Visual parentVisual ) : System
parentVisual Visual /// The parent of the contained . This is usually a /// FrameworkElement that is hosting the collection. ///
return System
    public GraphDrawer
    (
        Visual parentVisual
    )
    {
        Debug.Assert(parentVisual != null);

        m_oVisualCollection = new VisualCollection(parentVisual);
        m_oAllVertexDrawingVisuals = null;
        m_oUnselectedEdgeDrawingVisuals = null;
        m_oSelectedEdgeDrawingVisuals = null;
        m_oVertexDrawer = new VertexDrawer();
        m_oEdgeDrawer = new EdgeDrawer();
        m_oGroupDrawer = new GroupDrawer();
        m_oBackColor = SystemColors.WindowColor;
        m_oBackgroundImage = null;

        AssertValid();
    }