"VGL Guide — Example 5: Minimal Syntax"
Estimated reading time: 0 minutes.
Example 5: Minimal Syntax
Using the most concise syntax available:
vgraph minimal: IBIS "Minimal Example" {
// Questions and answers
node q1: Question "Question 1";
node a1: Answer "Answer 1";
node a2: Answer "Answer 2";
// Arguments
node p1: Pro "Pro argument";
node c1: Con "Con argument";
// Edges with inferred types
edge q1 -> a1;
edge q1 -> a2;
edge a1 -> p1;
edge a1 -> c1;
}
Home