Opened 12 years ago

Closed 12 years ago

#4762 closed Bugs (wontfix)

boost::GraphvizDigraph is missing

Reported by: rppawlo@… 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.

  1. Why were these eliminated? What objects should I use in place of the missing typedefs? Should I just redeclare them in my code?
  2. 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)

example_usage.txt (5.5 KB ) - added by rppawlo@… 12 years ago.
Example of usage of GraphvizDigraph object

Download all attachments as: .zip

Change History (2)

by rppawlo@…, 12 years ago

Attachment: example_usage.txt added

Example of usage of GraphvizDigraph object

comment:1 by Jeremiah Willcock, 12 years ago

Resolution: wontfix
Status: newclosed

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.

Note: See TracTickets for help on using tickets.