Exemple #1
0
        public static Microsoft.Glee.Drawing.Graph Create(IEnumerable <Edge> edges, IEnumerable <State> highlightedStates = null)
        {
            var graph = new Microsoft.Glee.Drawing.Graph("graph");

            graph.AddEdges(edges);
            if (highlightedStates != null)
            {
                graph.AddHighlightedStates(highlightedStates);
            }

            return(graph);
        }