1 #ifndef MUELU_BOOSTGRAPHVIZ_HPP 2 #define MUELU_BOOSTGRAPHVIZ_HPP 10 #if defined(HAVE_MUELU_BOOST) && defined(HAVE_MUELU_BOOST_FOR_REAL) 13 # if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 406 14 #pragma GCC diagnostic push 15 #pragma GCC diagnostic ignored "-Wshadow" 19 #include <boost/graph/graphviz.hpp> 22 # if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 406 23 #pragma GCC diagnostic pop 28 typedef boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS,
29 boost::property<boost::vertex_name_t, std::string,
30 boost::property<boost::vertex_color_t, std::string,
31 boost::property<boost::vertex_index_t, std::string> > >,
32 boost::property<boost::edge_name_t, std::string,
33 boost::property<boost::edge_color_t, std::string> > > BoostGraph;
34 typedef boost::dynamic_properties BoostProperties;
35 typedef boost::graph_traits<BoostGraph>::vertex_descriptor BoostVertex;
36 typedef boost::graph_traits<BoostGraph>::edge_descriptor BoostEdge;
39 #endif // HAVE_MUELU_BOOST && HAVE_MUELU_BOOST_FOR_REAL 41 #endif // MUELU_BOOSTGRAPHVIZ_HPP