public override void DraggingRegionAction(DiagramContainerNode node) { var loc = node.ToClient(Mouse.Location); var fromVertex = node.AddChildLast(new Vertex(loc)); var toVertex = node.AddChildLast(new Vertex(loc)); node.AddChildFirst(new Edge(fromVertex, toVertex, Type)); toVertex.Drag(loc); }
public override void DraggingRegionAction(DiagramContainerNode node) { var newVertex = node.AddChildLast(new Vertex(node.ToClient(Mouse.Location))); newVertex.Drag(); }
public virtual void DraggingRegionAction(DiagramContainerNode node) { }