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); }
public void Remove() { graph_.__removeVertex(this); graph_.__getCommandSender().__sendRemoveVertexCommand(this); }