|
template<class X > |
GraphToEps< CoordsTraits< X > > | coords (const X &x) |
| Sets the map of the node coordinates.
|
|
template<class X > |
GraphToEps< NodeSizesTraits< X > > | nodeSizes (const X &x) |
| Sets the map of the node sizes.
|
|
template<class X > |
GraphToEps< NodeShapesTraits< X > > | nodeShapes (const X &x) |
| Sets the map of the node shapes.
|
|
template<class X > |
GraphToEps< NodeTextsTraits< X > > | nodeTexts (const X &x) |
| Sets the text printed on the nodes.
|
|
template<class X > |
GraphToEps< NodePsTextsTraits
< X > > | nodePsTexts (const X &x) |
| Inserts a PostScript block to the nodes.
|
|
template<class X > |
GraphToEps< ArcWidthsTraits< X > > | arcWidths (const X &x) |
| Sets the map of the arc widths.
|
|
template<class X > |
GraphToEps< NodeColorsTraits< X > > | nodeColors (const X &x) |
| Sets the map of the node colors.
|
|
template<class X > |
GraphToEps
< NodeTextColorsTraits< X > > | nodeTextColors (const X &x) |
| Sets the map of the node text colors.
|
|
template<class X > |
GraphToEps< ArcColorsTraits< X > > | arcColors (const X &x) |
| Sets the map of the arc colors.
|
|
GraphToEps< T > & | nodeScale (double d=.01) |
| Sets a global scale factor for node sizes.
|
|
GraphToEps< T > & | autoNodeScale (bool b=true) |
| Turns on/off the automatic node size scaling.
|
|
GraphToEps< T > & | absoluteNodeSizes (bool b=true) |
| Turns on/off the absolutematic node size scaling.
|
|
GraphToEps< T > & | negateY (bool b=true) |
| Negates the Y coordinates.
|
|
GraphToEps< T > & | preScale (bool b=true) |
| Turn on/off pre-scaling.
|
|
GraphToEps< T > & | arcWidthScale (double d=.003) |
| Sets a global scale factor for arc widths.
|
|
GraphToEps< T > & | autoArcWidthScale (bool b=true) |
| Turns on/off the automatic arc width scaling.
|
|
GraphToEps< T > & | absoluteArcWidths (bool b=true) |
| Turns on/off the absolutematic arc width scaling.
|
|
GraphToEps< T > & | scale (double d) |
| Sets a global scale factor for the whole picture.
|
|
GraphToEps< T > & | border (double b=10) |
| Sets the width of the border around the picture.
|
|
GraphToEps< T > & | border (double x, double y) |
| Sets the width of the border around the picture.
|
|
GraphToEps< T > & | drawArrows (bool b=true) |
| Sets whether to draw arrows.
|
|
GraphToEps< T > & | arrowLength (double d=1.0) |
| Sets the length of the arrowheads.
|
|
GraphToEps< T > & | arrowWidth (double d=.3) |
| Sets the width of the arrowheads.
|
|
GraphToEps< T > & | scaleToA4 () |
| Scales the drawing to fit to A4 page.
|
|
GraphToEps< T > & | enableParallel (bool b=true) |
| Enables parallel arcs.
|
|
GraphToEps< T > & | parArcDist (double d) |
| Sets the distance between parallel arcs.
|
|
GraphToEps< T > & | hideArcs (bool b=true) |
| Hides the arcs.
|
|
GraphToEps< T > & | hideNodes (bool b=true) |
| Hides the nodes.
|
|
GraphToEps< T > & | nodeTextSize (double d) |
| Sets the size of the node texts.
|
|
GraphToEps< T > & | distantColorNodeTexts () |
| Sets the color of the node texts to be different from the node color.
|
|
GraphToEps< T > & | distantBWNodeTexts () |
| Sets the color of the node texts to be black or white and always visible.
|
|
GraphToEps< T > & | nodePsTextsPreamble (const char *str) |
| Gives a preamble block for node Postscript block.
|
|
GraphToEps< T > & | undirected (bool b=true) |
| Sets whether the graph is undirected.
|
|
GraphToEps< T > & | directed (bool b=true) |
| Sets whether the graph is directed.
|
|
GraphToEps< T > & | title (const std::string &t) |
| Sets the title.
|
|
GraphToEps< T > & | copyright (const std::string &t) |
| Sets the copyright statement.
|
|
void | run () |
| Draws the graph.
|
|
|
These are just some aliases to other parameter setting functions.
|
template<class X > |
GraphToEps< ArcWidthsTraits< X > > | edgeWidths (const X &x) |
| An alias for arcWidths()
|
|
template<class X > |
GraphToEps< ArcColorsTraits< X > > | edgeColors (const X &x) |
| An alias for arcColors()
|
|
GraphToEps< T > & | edgeWidthScale (double d) |
| An alias for arcWidthScale()
|
|
GraphToEps< T > & | autoEdgeWidthScale (bool b=true) |
| An alias for autoArcWidthScale()
|
|
GraphToEps< T > & | absoluteEdgeWidths (bool b=true) |
| An alias for absoluteArcWidths()
|
|
GraphToEps< T > & | parEdgeDist (double d) |
| An alias for parArcDist()
|
|
GraphToEps< T > & | hideEdges (bool b=true) |
| An alias for hideArcs()
|
|