Postscript exporting
[Input-Output]


Detailed Description

This group describes general EPS drawing methods and special graph exporting tools.


Classes

class  EpsDrawer
 A simple tool to create .eps files. More...

Files

file  eps.h
 Simple tool to create .eps files.
file  graph_to_eps.h
 Simple graph drawer.

Functions

template<class G >
GraphToEps
< DefaultGraphToEpsTraits< G > > 
graphToEps (G &g, std::ostream &os=std::cout)
 Generates an EPS file from a graph.
template<class G >
GraphToEps
< DefaultGraphToEpsTraits< G > > 
graphToEps (G &g, const char *file_name)
 Generates an EPS file from a graph.
template<class G >
GraphToEps
< DefaultGraphToEpsTraits< G > > 
graphToEps (G &g, const std::string &file_name)
 Generates an EPS file from a graph.

Function Documentation

GraphToEps<DefaultGraphToEpsTraits<G> > lemon::graphToEps ( G &  g,
std::ostream &  os = std::cout 
) [inline]

Generates an EPS file from a graph.

Parameters:
g is a reference to the graph to be printed
os is a reference to the output stream. By default it is std::cout
This function also has a lot of named parameters, they are declared as the members of class GraphToEps. The following example shows how to use these parameters.
    graphToEps(g,os).scale(10).coords(coords)
                 .nodeScale(2).nodeSizes(sizes)
                 .edgeWidthScale(.4).run();
Warning:
Don't forget to put the run() to the end of the parameter list.
See also:
GraphToEps

graphToEps(G &g, const char *file_name)

GraphToEps<DefaultGraphToEpsTraits<G> > lemon::graphToEps ( G &  g,
const char *  file_name 
) [inline]

This function does the same as graphToEps(G &g,std::ostream& os) but it writes its output into the file file_name instead of a stream.

See also:
graphToEps(G &g, std::ostream& os)

GraphToEps<DefaultGraphToEpsTraits<G> > lemon::graphToEps ( G &  g,
const std::string &  file_name 
) [inline]

This function does the same as graphToEps(G &g,std::ostream& os) but it writes its output into the file file_name instead of a stream.

See also:
graphToEps(G &g, std::ostream& os)


Generated on Thu Jun 4 04:03:13 2009 for LEMON by  doxygen 1.5.9