40 #ifndef __SBNW_DRAW_TIKZ_H_
41 #define __SBNW_DRAW_TIKZ_H_
78 class _GraphfabExport TikZRenderer {
80 TikZRenderer(Box extents,
Real widthcm,
Real heightcm);
82 std::string str(Network* net, Canvas* can);
84 std::string process(Point p)
const;
86 std::string formatNodeText(
const std::string& text)
const;
90 Real widthcm_, heightcm_;
93 _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:58
SAGITTARIUS_REAL Real
Make Real visible to C. Consider letting Real lie in top namespace.
Definition: SagittariusCommon.h:136
Definition: SagittariusCommon.cpp:38
Canvas for drawing diagram, dimensions.
Type which holds layout info.
Definition: layout.h:138
SBML layout interface in C.
_GraphfabExport const char * gf_renderTikZ(gf_layoutInfo *l)
Render the model as a TikZ image.
Definition: tikz.cpp:38