Exemplo n.º 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);
        }