Ejemplo n.º 1
0
        private void processRemoveVertexCommand(Command command)
        {
            var parameters         = command.GetParameters();
            var verticesDictionary = graph_.__getVerticesDictionary();

            var vertex = verticesDictionary.Find(FullID.FromString(parameters[0]));

            graph_.__removeVertex(vertex);

            graph_.__raiseVertexRemovedEvent(vertex);
        }
Ejemplo n.º 2
0
 public void Remove()
 {
     graph_.__removeVertex(this);
     graph_.__getCommandSender().__sendRemoveVertexCommand(this);
 }