home *** CD-ROM | disk | FTP | other *** search
- # GRAB Graph Layout and Browser System
- #
- # Copyright (c) 1989, Tera Computer Company
- #
- # Note: this file will not work as is, currently, because the language does
- # not handle comments
-
- if (.node and .NodeLabel = "E")
- then
- display .;
- continue;
- elsif (.edge and .EdgeLabel = "ag")
- then
- set .foo = "heyhuh";
- break;
- elsif "true" and not "false" and
- ((.node and (.NodeLabel = "K" or .NodeLabel = "H")) or (.edge and
- "ij3" = .EdgeLabel))
- then
- set .foo = "heyhey";
- else
- set .foo = "heyho";
- endif
-
- if (not .edge and .NodeLabel = "F" and .parents.NodeLabel = "A")
- then
- set .parents.bar = "Ha-ha-ha";
- hide .in.source.;
- endif
-
- if (.edge and .EdgeLabel = "bm" and .source.NodeLabel = "B")
- then
- set .foo = "heyhe";
- endif
-
- if (.edge and .EdgeLabel = "bm" and .sink.NodeLabel = "M")
- then
- set .sink.bar = "he-de-he-de-ho";
- focus .sink.;
- endif
-
- if (.edge and .EdgeLabel = "kd2" and .sink.NodeLabel = "D")
- then
- expand .source.;
- endif
-
- if (.edge and .EdgeLabel = "kd2" and .source.NodeLabel = "K")
- then
- set .source.bar = "hi-de-hi-de-ho";
- coalesce .sink. .source.;
- endif
-
- if (.node and .NodeLabel = "C" and .out.EdgeLabel = "cd")
- then
- set .children.out.bar = "hohoho";
- expand .;
- endif
-
- if (.node and .NodeLabel = "L" and .in.EdgeLabel = "dl")
- then
- set .parents.in.bar = "fefifofum";
- expand .;
- endif
-
- if (.node and .NodeLabel = "C" and .out.source.NodeLabel = "C")
- then
- set .out.source.parents.bar = "tralala";
- display .parents.children.;
- endif
-
- if (.node and .NodeLabel = "C" and .out.sink.NodeLabel = "D")
- then
- set .out.sink.children.blah = "falala";
- focus .;
- endif
-
- if (.node and .NodeLabel = "L" and .in.source.NodeLabel = "D")
- then
- set .parents.in.blah = "skoobedebop";
- coalesce . .;
- endif
-
- if (.node and .NodeLabel = "L" and .in.sink.NodeLabel = "L")
- then
- set .in.source.children.in.blah = "humhum";
- expand .;
- endif
-
- if (.node and .NodeLabel = "L" and .descendants.NodeLabel = "M")
- then
- set .ancestors.baz = "shoobedo";
- display .children.parents.;
- endif
-
- if (.node and .NodeLabel = "L" and .children.NodeLabel = "M")
- then
- set .parents.baz = "yabbadabbado";
- hide .descendants.;
- endif
-
- if (.node and .NodeLabel = "B" and .ancestors.NodeLabel = "N")
- then
- set .descendants.baz = "rowrowrow";
- display .children.;
- endif
-