DefaultGraphToEpsTraits
Declared in lemon/graph_to_eps.h, in the group Postscript Exporting; the same struct on the Doxygen site.
-
template< class GR >
struct DefaultGraphToEpsTraits Default traits class of GraphToEps.
- Template Parameters:
GR – is the type of the underlying graph.
Public Types
Public Functions
- inline DefaultGraphToEpsTraits(
- const GR & gr,
- std::ostream & ost = std::cout,
- bool pros = false
Constructor.
Constructor
- Parameters:
gr – Reference to the graph to be printed.
ost – Reference to the output stream. By default, it is
std::cout.pros – If it is
true, then theostreamreferenced byoswill be explicitly deallocated by the destructor.
Public Members
-
std::ostream & os
-
CoordsMapType _coords
-
double _arcWidthScale
-
double _nodeScale
-
double _xBorder
-
double _yBorder
-
double _scale
-
double _nodeBorderQuotient
-
bool _drawArrows
-
double _arrowLength
-
double _arrowWidth
-
bool _showNodes
-
bool _showArcs
-
bool _enableParallel
-
double _parArcDist
-
bool _showNodeText
-
double _nodeTextSize
-
bool _showNodePsText
-
char * _nodePsTextsPreamble
-
bool _undirected
-
bool _pleaseRemoveOsStream
-
std::shared_ptr< std::ostream > _osOwner
-
bool _scaleToA4
-
std::string _title
-
std::string _copyright
-
enum lemon::DefaultGraphToEpsTraits::NodeTextColorType _nodeTextColorType
-
bool _autoNodeScale
-
bool _autoArcWidthScale
-
bool _absoluteNodeSizes
-
bool _absoluteArcWidths
-
bool _negY
-
bool _preScale