MoveSelectedVertices
(
Single fXDistance,
Single fYDistance
)
{
AssertValid();
if (m_oSelectedVertices.Count == 0)
{
return;
}
foreach (IVertex oSelectedVertex in m_oSelectedVertices)
{
System.Drawing.PointF oOldLocation = oSelectedVertex.Location;
oSelectedVertex.Location = new System.Drawing.PointF(
oOldLocation.X + fXDistance,
oOldLocation.Y + fYDistance
);
}
RebundleIncidentEdgesIfAppropriate(m_oSelectedVertices);
UpdateCollapsedGroupLocations(m_oSelectedVertices);
this.DrawGraph();
FireVerticesMoved(m_oSelectedVertices);
}