Exemplo n.º 1
0
        public string BuildDiagram()
        {
            var definitionCellIds = AddDefinitions();

            AddDefinitionsRelations(definitionCellIds);
            AddPathAndOperations(definitionCellIds);

            return(_diagramXmlBuilder.GetDiagramXml());
        }
        public string BuildDiagram()
        {
            foreach (var geoDataItem in _geoData.Collection)
            {
                _diagramXmlBuilder.AddEllipse((int)geoDataItem.Latitude, (int)geoDataItem.Longitude, EllipseSize, geoDataItem.Name);
            }

            return(_diagramXmlBuilder.GetDiagramXml());
        }