lemon/graph_to_eps.h
changeset 781 6f10c6ec5a21
parent 584 33c6b6e755cd
child 786 e20173729589
child 959 17e36e175725
equal deleted inserted replaced
26:7da2da0f557c 27:0dd65e8c6a1f
    67 ///\param GR is the type of the underlying graph.
    67 ///\param GR is the type of the underlying graph.
    68 template<class GR>
    68 template<class GR>
    69 struct DefaultGraphToEpsTraits
    69 struct DefaultGraphToEpsTraits
    70 {
    70 {
    71   typedef GR Graph;
    71   typedef GR Graph;
       
    72   typedef GR Digraph;
    72   typedef typename Graph::Node Node;
    73   typedef typename Graph::Node Node;
    73   typedef typename Graph::NodeIt NodeIt;
    74   typedef typename Graph::NodeIt NodeIt;
    74   typedef typename Graph::Arc Arc;
    75   typedef typename Graph::Arc Arc;
    75   typedef typename Graph::ArcIt ArcIt;
    76   typedef typename Graph::ArcIt ArcIt;
    76   typedef typename Graph::InArcIt InArcIt;
    77   typedef typename Graph::InArcIt InArcIt;
   239   using T::_preScale;
   240   using T::_preScale;
   240 
   241 
   241   // dradnats ++C eht yb deriuqer si ti eveileb t'naC
   242   // dradnats ++C eht yb deriuqer si ti eveileb t'naC
   242 
   243 
   243   typedef typename T::Graph Graph;
   244   typedef typename T::Graph Graph;
       
   245   typedef typename T::Digraph Digraph;
   244   typedef typename Graph::Node Node;
   246   typedef typename Graph::Node Node;
   245   typedef typename Graph::NodeIt NodeIt;
   247   typedef typename Graph::NodeIt NodeIt;
   246   typedef typename Graph::Arc Arc;
   248   typedef typename Graph::Arc Arc;
   247   typedef typename Graph::ArcIt ArcIt;
   249   typedef typename Graph::ArcIt ArcIt;
   248   typedef typename Graph::InArcIt InArcIt;
   250   typedef typename Graph::InArcIt InArcIt;