Smrf.NodeXL.Visualization.Wpf.DraggedVertices.AddMetadataToVertices C# (CSharp) Method

AddMetadataToVertices() protected method

protected AddMetadataToVertices ( ) : void
return void
    AddMetadataToVertices()
    {
        AssertValid();

        // Save the original vertex locations before the vertices get moved.

        foreach (IVertex oVertex in m_aoVertices)
        {
            oVertex.SetValue(
                ReservedMetadataKeys.DraggedVerticesOriginalLocation,
                oVertex.Location);
        }
    }