16 #ifndef __SBNW_DRAW_TIKZ_H_ 17 #define __SBNW_DRAW_TIKZ_H_ 52 namespace LibsbmlDraw {
54 class _GraphfabExport TikZRenderer {
56 TikZRenderer(Box extents,
Real widthcm,
Real heightcm);
58 std::string str(Network* net, Canvas* can);
60 std::string process(Point p)
const;
62 std::string formatNodeText(
const std::string& text)
const;
66 Real widthcm_, heightcm_;
69 _GraphfabExport std::ostream& operator<<(std::ostream& o,
const TikZRenderer& r);
_GraphfabExport int gf_renderTikZFile(gf_layoutInfo *l, const char *filename)
Render the model as a TikZ image.
Definition: tikz.cpp:34
SAGITTARIUS_REAL Real
Make Real visible to C. Consider letting Real lie in top namespace.
Definition: SagittariusCommon.h:112
Canvas for drawing diagram, dimensions.
Type which holds layout info.
Definition: layout.h:114
SBML layout interface in C.
_GraphfabExport const char * gf_renderTikZ(gf_layoutInfo *l)
Render the model as a TikZ image.
Definition: tikz.cpp:14