- Improved roledef printing for NULL, NULL roles (intruder)

- Added graph output in dot format.
This commit is contained in:
ccremers
2004-08-28 09:24:30 +00:00
parent 6c2730af1a
commit 9d64b837db
2 changed files with 112 additions and 7 deletions

View File

@@ -77,12 +77,15 @@ roledefPrint (Roledef rd)
if (globalLatex)
eprintf ("$");
eprintf ("(");
termPrint (rd->from);
eprintf (",");
if (rd->type == CLAIM)
eprintf (" ");
termPrint (rd->to);
eprintf (", ");
if (!(rd->from == NULL && rd->to == NULL))
{
termPrint (rd->from);
eprintf (",");
if (rd->type == CLAIM)
eprintf (" ");
termPrint (rd->to);
eprintf (", ");
}
termPrint (rd->message);
eprintf (" )");
if (globalLatex)