lemon/graph_to_eps.h
changeset 132 50ff949140fa
parent 131 3125084667a3
child 133 d76e2ff9c70d
     1.1 --- a/lemon/graph_to_eps.h	Tue Apr 15 08:56:55 2008 +0100
     1.2 +++ b/lemon/graph_to_eps.h	Mon Apr 14 11:23:56 2008 +0100
     1.3 @@ -150,10 +150,10 @@
     1.4    DefaultGraphToEpsTraits(const G &_g,std::ostream& _os=std::cout,
     1.5  			  bool _pros=false) :
     1.6      g(_g), os(_os),
     1.7 -    _coords(dim2::Point<double>(1,1)), _nodeSizes(.01), _nodeShapes(0),
     1.8 +    _coords(dim2::Point<double>(1,1)), _nodeSizes(1), _nodeShapes(0),
     1.9      _nodeColors(WHITE), _arcColors(BLACK),
    1.10      _arcWidths(1.0), _arcWidthScale(0.003),
    1.11 -    _nodeScale(1.0), _xBorder(10), _yBorder(10), _scale(1.0),
    1.12 +    _nodeScale(.01), _xBorder(10), _yBorder(10), _scale(1.0),
    1.13      _nodeBorderQuotient(.1),
    1.14      _drawArrows(false), _arrowLength(1), _arrowWidth(0.3),
    1.15      _showNodes(true), _showArcs(true),
    1.16 @@ -496,7 +496,7 @@
    1.17    /// equal to \c d.
    1.18    /// \sa nodeSizes()
    1.19    /// \sa autoNodeScale()
    1.20 -  GraphToEps<T> &nodeScale(double d) {_nodeScale=d;return *this;}
    1.21 +  GraphToEps<T> &nodeScale(double d=.01) {_nodeScale=d;return *this;}
    1.22    ///Turns on/off the automatic node width scaling.
    1.23  
    1.24    ///Turns on/off the automatic node width scaling.
    1.25 @@ -549,7 +549,7 @@
    1.26    /// If both arcWidths() and autoArcWidthScale() are used, then the
    1.27    /// arc withs will be scaled in such a way that the greatest width will be
    1.28    /// equal to \c d.
    1.29 -  GraphToEps<T> &arcWidthScale(double d) {_arcWidthScale=d;return *this;}
    1.30 +  GraphToEps<T> &arcWidthScale(double d=.003) {_arcWidthScale=d;return *this;}
    1.31    ///Turns on/off the automatic arc width scaling.
    1.32  
    1.33    ///Turns on/off the automatic arc width scaling.