mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-06-11 02:56:34 -06:00
29 lines
748 B
C
29 lines
748 B
C
#ifndef PGF_GRAPHVIZ_H_
|
|
#define PGF_GRAPHVIZ_H_
|
|
|
|
typedef struct {
|
|
int noLeaves;
|
|
int noFun;
|
|
int noCat;
|
|
int noDep;
|
|
GuString nodeFont;
|
|
GuString leafFont;
|
|
GuString nodeColor;
|
|
GuString leafColor;
|
|
GuString nodeEdgeStyle;
|
|
GuString leafEdgeStyle;
|
|
} PgfGraphvizOptions;
|
|
|
|
extern PgfGraphvizOptions pgf_default_graphviz_options[1];
|
|
|
|
PGF_API_DECL void
|
|
pgf_graphviz_abstract_tree(PgfPGF* pgf, PgfExpr expr, PgfGraphvizOptions* opts, GuOut* out, GuExn* err);
|
|
|
|
PGF_API_DECL void
|
|
pgf_graphviz_parse_tree(PgfConcr* concr, PgfExpr expr, PgfGraphvizOptions* opts, GuOut* out, GuExn* err);
|
|
|
|
PGF_API_DECL void
|
|
pgf_graphviz_word_alignment(PgfConcr** concrs, size_t n_concrs, PgfExpr expr, PgfGraphvizOptions* opts, GuOut* out, GuExn* err);
|
|
|
|
#endif
|