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. | |
| GraphToEps<DefaultGraphToEpsTraits<G> > lemon::graphToEps | ( | G & | g, | |
| std::ostream & | os = std::cout | |||
| ) | [inline] |
Generates an EPS file from a graph.
| g | is a reference to the graph to be printed | |
| os | is a reference to the output stream. By default it is std::cout |
graphToEps(g,os).scale(10).coords(coords) .nodeScale(2).nodeSizes(sizes) .edgeWidthScale(.4).run();
| 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.
| 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.
1.5.9