"VGL Guide — Example 3: Using Groups"
Estimated reading time: 1 minutes.
Example 3: Using Groups
Organizing nodes into logical groups:
vgraph project_planning: IBIS "Project Planning" {
node main_q: Question "How should we structure the project?" [fontsize: 20];
group architecture "Architecture Decisions" {
style: filled;
color: lightblue;
node q1: Question "Which architecture pattern?";
node a1: Answer "Microservices";
node a2: Answer "Monolithic";
edge q1 -> a1;
edge q1 -> a2;
};
group testing "Testing Strategy" {
style: filled;
color: lightgreen;
node q2: Question "What testing approach?";
node a3: Answer "TDD";
node a4: Answer "BDD";
edge q2 -> a3;
edge q2 -> a4;
};
edge main_q -> q1: answered_by "Consider architecture";
edge main_q -> q2: answered_by "Define testing";
}
Home