demo/topology_demo.cc
changeset 1910 f95eea8c34b0
parent 1909 2d806130e700
child 1956 a055123339d5
     1.1 --- a/demo/topology_demo.cc	Thu Jan 26 15:42:13 2006 +0000
     1.2 +++ b/demo/topology_demo.cc	Thu Jan 26 16:24:40 2006 +0000
     1.3 @@ -59,7 +59,7 @@
     1.4    Graph::NodeMap<int> compMap(graph);
     1.5    connectedComponents(graph, compMap);
     1.6  
     1.7 -  graphToEps(graph, "connected_components.eps").u().
     1.8 +  graphToEps(graph, "connected_components.eps").undirected().
     1.9      coords(coords).scaleToA4().enableParallel().
    1.10      parEdgeDist(20.0).edgeWidthScale(2.0).nodeScale(20.0).
    1.11      nodeColors(composeMap(colorSet, compMap)).run();
    1.12 @@ -115,7 +115,8 @@
    1.13    Graph::NodeMap<bool> cutMap(graph);
    1.14    biNodeConnectedComponents(graph, compMap);
    1.15    biNodeConnectedCutNodes(graph, cutMap);
    1.16 -  graphToEps(graph, "bi_node_connected_components.eps").u().
    1.17 +
    1.18 +  graphToEps(graph, "bi_node_connected_components.eps").undirected().
    1.19      coords(coords).scaleToA4().enableParallel().
    1.20      parEdgeDist(20.0).edgeWidthScale(5.0).nodeScale(20.0).
    1.21      edgeColors(composeMap(colorSet, compMap)).
    1.22 @@ -145,7 +146,7 @@
    1.23    biEdgeConnectedComponents(graph, compMap);
    1.24    biEdgeConnectedCutEdges(graph, cutMap);
    1.25  
    1.26 -  graphToEps(graph, "bi_edge_connected_components.eps").u().
    1.27 +  graphToEps(graph, "bi_edge_connected_components.eps").undirected().
    1.28      coords(coords).scaleToA4().enableParallel().
    1.29      parEdgeDist(20.0).edgeWidthScale(2.0).nodeScale(20.0).
    1.30      nodeColors(composeMap(colorSet, compMap)).
    1.31 @@ -172,7 +173,7 @@
    1.32    Graph::NodeMap<bool> partMap(graph);
    1.33    bipartitePartitions(graph, partMap);
    1.34  
    1.35 -  graphToEps(graph, "bipartite_partitions.eps").u().
    1.36 +  graphToEps(graph, "bipartite_partitions.eps").undirected().
    1.37      coords(coords).scaleToA4().enableParallel().
    1.38      parEdgeDist(20.0).edgeWidthScale(2.0).nodeScale(20.0).
    1.39      nodeColors(composeMap(functorMap(&color), partMap)).run();