- Improved roledef printing for NULL, NULL roles (intruder)
- Added graph output in dot format.
This commit is contained in:
15
src/role.c
15
src/role.c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user