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);
        }
Exemple #2
0
        public override void DraggingRegionAction(DiagramContainerNode node)
        {
            var newVertex = node.AddChildLast(new Vertex(node.ToClient(Mouse.Location)));

            newVertex.Drag();
        }
Exemple #3
0
 public virtual void DraggingRegionAction(DiagramContainerNode node)
 {
 }