[Boost-bugs] [Boost C++ Libraries] #3259: write_graphviz requires more concepts than the documentation states

Subject: [Boost-bugs] [Boost C++ Libraries] #3259: write_graphviz requires more concepts than the documentation states
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-10 23:23:27


#3259: write_graphviz requires more concepts than the documentation states
--------------------------+-------------------------------------------------
 Reporter: anonymous | Owner: asutton
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: graph
  Version: Boost 1.39.0 | Severity: Cosmetic
 Keywords: |
--------------------------+-------------------------------------------------
 I wanted to use write_graphviz with my custom graph adapter that
 implements VertexListGraph as well as IncidenceGraph.
 The documentation states, that write_graphviz only requires a
 VertexListGraph. But inside, it uses an edge_iterator, and calls
 edges(g), both of which belong to the EdgeListGraph.

 This discrepancy was confirmed at the boost mailing list.

 First, the documentation should be updated.

 But then I would also suggest to provide a second specialization for
 IncidenceGraph that calls out_deges() for each vertex instead of edges().

 When I find time, I will prepare some code for my proposal.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3259>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC