mirror of
https://github.com/boostorg/graph.git
synced 2025-05-11 13:24:01 +00:00
Make csr-example compile
github bug #150 for boost/graph Changed write_graphviz to write_graphviz_dp to handle dynamic properties
This commit is contained in:
parent
1324532d83
commit
002c56a108
@ -40,7 +40,7 @@ exe connected-components : connected-components.cpp ;
|
||||
|
||||
exe container_gen : container_gen.cpp ;
|
||||
exe copy-example : copy-example.cpp ;
|
||||
# exe csr-example : csr-example.cpp ;
|
||||
exe csr-example : csr-example.cpp ;
|
||||
exe cuthill_mckee_ordering : cuthill_mckee_ordering.cpp ;
|
||||
exe cycle_canceling_example : cycle_canceling_example.cpp ;
|
||||
exe cycle-file-dep2 : cycle-file-dep2.cpp ;
|
||||
|
@ -55,6 +55,6 @@ int main()
|
||||
dynamic_properties dp;
|
||||
dp.property("label", get(&WebPage::url, g));
|
||||
std::ofstream out("web-graph.dot");
|
||||
write_graphviz(out, g, dp, std::string(), get(vertex_index, g));
|
||||
write_graphviz_dp(out, g, dp, std::string(), get(vertex_index, g));
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user