restored graphvizAbstractTree

This commit is contained in:
krangelov
2021-12-04 16:05:24 +01:00
parent 3d1123eed4
commit a3d680f317
6 changed files with 54 additions and 11 deletions

View File

@@ -447,6 +447,20 @@ void PgfPrinter::parg(ref<PgfDTyp> ty, ref<PgfPArg> parg)
puts(")");
}
void PgfPrinter::bindings(size_t n_vars)
{
bool first = true;
PgfPrintContext *context = ctxt;
while (context != NULL && n_vars > 0) {
if (!first) {
puts(",");
first = false;
}
efun(&context->name);
context = context->next;
}
}
void PgfPrinter::lvar(size_t var)
{
char vars[] = "ijklmnopqr";