Opened 12 years ago
Closed 12 years ago
#4762 closed Bugs (wontfix)
boost::GraphvizDigraph is missing
Reported by: | Owned by: | Andrew Sutton | |
---|---|---|---|
Milestone: | To Be Determined | Component: | graph |
Version: | Boost 1.44.0 | Severity: | Problem |
Keywords: | Cc: |
Description
In upgrading from boost 1.43 to 1.44, my code is now failing to compile. The culprit is that a block of code in the file boost/graph/graphviz.hpp has been ifdef'd out in going from 1.43 to 1.44. This removed some typedefs that I was using. In particular the boost::GraphvizDigraph object.
- Why were these eliminated? What objects should I use in place of the missing typedefs? Should I just redeclare them in my code?
- I could not find any mention of changes to the boost graph library in the release notes for 1.44, yet there are quite a few changes to the graphviz.hpp file.
Attachments (1)
Change History (2)
by , 12 years ago
Attachment: | example_usage.txt added |
---|
comment:1 by , 12 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
I removed this class because it appeared to have been broken for quite a while (the functions to read Graphviz files into that type didn't exist). If you have only a fixed set of attributes on your vertices and edges, which appears to be the case from your code, use any standard graph type and one of the versions of read_graphviz()
that use dynamic_properties
objects. The file libs/graph/example/graphviz.cpp
shows what kind of code to write for that.
Example of usage of GraphvizDigraph object