Smrf.NodeXL.ExcelTemplate.GraphLaidOutEventArgs.GraphLaidOutEventArgs C# (CSharp) Method

GraphLaidOutEventArgs() public method

Initializes a new instance of the GraphLaidOutEventArgs class.
public GraphLaidOutEventArgs ( Rectangle graphRectangle, IIdentityProvider>.Dictionary edgeIDDictionary, IIdentityProvider>.Dictionary vertexIDDictionary, NodeXLControl nodeXLControl, IEnumerable legendControls ) : System
graphRectangle System.Drawing.Rectangle /// The rectangle the graph was drawn within. ///
edgeIDDictionary IIdentityProvider>.Dictionary /// Dictionary that maps edge IDs stored in the edge worksheet to edge /// objects in the graph. ///
vertexIDDictionary IIdentityProvider>.Dictionary /// Dictionary that maps vertex IDs stored in the vertex worksheet to /// vertex objects in the graph. ///
nodeXLControl Smrf.NodeXL.Visualization.Wpf.NodeXLControl /// The control in which the graph was laid out. ///
legendControls IEnumerable /// Zero or more legend controls associated with . Can't be null. ///
return System
    public GraphLaidOutEventArgs
    (
        Rectangle graphRectangle,
        Dictionary<Int32, IIdentityProvider> edgeIDDictionary,
        Dictionary<Int32, IIdentityProvider> vertexIDDictionary,
        NodeXLControl nodeXLControl,
        IEnumerable<LegendControlBase> legendControls
    )
    :
    base(graphRectangle, nodeXLControl)
    {
        m_oEdgeIDDictionary = edgeIDDictionary;
        m_oVertexIDDictionary = vertexIDDictionary;
        m_oLegendControls = legendControls;

        AssertValid();
    }