Пример #1
0
        private void processChangeVertexScaleCommand(Command command)
        {
            var parameters         = command.GetParameters();
            var verticesDictionary = graph_.__getVerticesDictionary();

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

            if (vertex == null)
            {
                return;
            }

            var scale = double.Parse(parameters[1]);

            vertex.__setScale(scale);

            graph_.__raiseVertexScaleChangedEvent(vertex);
        }