示例#1
0
        public Edge ConnectTo(Vertex endVertex)
        {
            int edgeClientID    = graph_.__getClientID();
            int edgeIDinCreator = graph_.__getLastCreatedEdgeID() + 1;

            graph_.__setLastCreatedEdgeID(edgeIDinCreator);

            var edge = __connectTo(endVertex, new FullID(edgeClientID, edgeIDinCreator));

            graph_.__getCommandSender().__sendInsertEdgeCommand(edge);

            return(edge);
        }
示例#2
0
 public void ChangePosition(Point3D position)
 {
     __changePosition(position);
     graph_.__getCommandSender().__sendChangeCameraPositionCommand(position);
 }
示例#3
0
 public void Remove()
 {
     graph_.__removeEdge(this);
     graph_.__getCommandSender().__sendRemoveEdgeCommand(this);
 }
示例#4
0
 public void Move(Point3D position)
 {
     __move(position);
     graph_.__getCommandSender().__sendMoveBendCommand(this);
 }