diff -r d91884dcd572 -r 47fbc814aa31 demo/lgf_demo.cc --- a/demo/lgf_demo.cc Mon Sep 29 12:34:08 2008 +0200 +++ b/demo/lgf_demo.cc Wed Oct 01 12:44:16 2008 +0200 @@ -44,7 +44,7 @@ SmartDigraph::Node s, t; try { - digraphReader("digraph.lgf", g). // read the directed graph into g + digraphReader(g, "digraph.lgf"). // read the directed graph into g arcMap("capacity", cap). // read the 'capacity' arc map into cap node("source", s). // read 'source' node to s node("target", t). // read 'target' node to t @@ -60,7 +60,7 @@ std::cout << "We can write it to the standard output:" << std::endl; - digraphWriter(std::cout, g). // write g to the standard output + digraphWriter(g). // write g to the standard output arcMap("capacity", cap). // write cap into 'capacity' node("source", s). // write s to 'source' node("target", t). // write t to 'target'