예제 #1
0
        public static GraphExample ToGraphExample(BidirectionalGraph <DataVertex, DataEdge> oldGraph)
        {
            var graph = new GraphExample();

            graph.AddVertexRange(oldGraph.Vertices);
            graph.AddEdgeRange(oldGraph.Edges);

            return(graph);
        }