Visual Graph¶
The Visual tab under Model Definition shows your model as an interactive graph. Nodes are states; edges are transitions. Use it to review structure, edit the model on a canvas, and inspect verification traces from Verification Results.
View and Edit modes are toggled at the top of the tab. The graph appears once the model has at least one state.
Graph view (read-only)¶

Pan and zoom with the mouse. The toolbar has:
- Show Path and Hide Path: highlight a verification witness (a run showing the formula holds) or counterexample (a run showing it fails). Enabled only after a run that returned a trace.
- Show Strategy and Hide Strategy: with the ATL* logic, mark the strategy of the selected result on the graph; see ATL* strategy on the graph. It is disabled until Synthesize strategy has been used for that result.
- Labels: show or hide edge labels (actions, costs or capacities).
- Layout: Grid, Concentric, Breadth-first, Circle, Force-directed or Random. Use Reset view to fit the graph in the window.
- Export: PNG or SVG of the current view.
Hover a transition edge to see a tooltip mapping each character or pipe-separated token to an agent display name (from Agent_labels when present).
A model with more than 500 states or more than 1500 transitions opens in View only, with the message "Graph is too large to edit visually"; edit its text in Editor instead. These are the default limits; the server can set others, and the message shows the values in force. The same state limit stops Add State in Edit mode.
Graph designer (edit mode)¶

Add states, draw transitions and edit properties. Changes are not sent to the checker until you click Apply to Text, which updates the Editor tab and re-runs validation.
Common actions:
- Add State: click the canvas to place a node (the first state defaults to initial).
- Add Transition: straight or curved tools between nodes.
- Unknown Transition: draw a transition whose joint action is not specified, for a model with incomplete knowledge of the agents' actions. It shows as an orange dashed edge and is saved in the optional
Unknown_Transition_bysection of the model text. - Move: drag nodes; use layout or auto-arrange if the graph is crowded.
- Properties panel: agents, propositions, state flags, transition labels, costs and capacities.
- Agent labels: in Edit mode, set display names per agent (
<1>,<2>and so on). Names are saved in the optionalAgent_labelssection when you click Apply to Text. - Edge tooltips: hover a transition to see which agent display name corresponds to each position in the action string (when the label matches the agent count, for example
ACorMOVE|IDLE). - Undo and Redo, delete, clear canvas.
Apply to Text checks the model with the selected logic. When you start from a template, or pick a model type under Parser Logic, and the selected logic cannot run that type, the app selects one that can: the template's logic, or the type's default (ATLF for Fuzzy).
After you change the text in Editor, the Visual tab rebuilds the graph from the new text. While the graph is out of date, a banner "Text model has changed. Rebuild graph?" offers Rebuild now. Switching tabs with designer changes not yet applied opens "Unsaved Graph Changes": Discard & Switch drops the changes, Cancel (Stay) keeps you on the canvas so you can click Apply to Text.
Fuzzy labels¶
A fuzzyCGS gives each proposition a value between 0 and 1 in each state; ATLF checks it. To edit one, start from the template "Fuzzy CGS (ATLF, 3 States)", or choose Fuzzy under Parser Logic in the Model Configuration panel (this sets the model type, not the logic).
- Where: the Global Labelling Matrix (Model Configuration panel, with nothing selected) and the Labelling list of a selected state show a number box per proposition instead of a checkbox. After switching from CGS, a ticked proposition shows 1 and an unticked one 0.
- Values: a proposition holds in a state when its value is above 0; setting it to 0 removes it. A value outside 0 to 1 stays in the box outlined in red, the last valid value is kept, and the box shows it again when you leave it.
- Apply to Text writes each value into
Labellingas entered, for example0.5. If every value is 0 or 1, the file is a plain CGS, and the Model Type in the guidance panel shows CGS. - On the graph (View and Edit): a badge under each state lists the propositions that hold there, with a degree below 1 after the name, for example
p 0.2. The Overlays menu item "Show label degrees" turns these badges on or off; it is on by default for a fuzzyCGS. The Labelling list in the guidance panel shows the same degrees. - After an ATLF check, View mode adds a second badge under each state with the value of the formula there, for example
0.7, the same values as the Value per State card of the result.
Keyboard shortcuts¶
On macOS, use Command instead of Ctrl.
| Action | Shortcut |
|---|---|
| Undo | Ctrl+Z |
| Redo | Ctrl+Y or Ctrl+Shift+Z |
| Select all | Ctrl+A |
| Delete selected | Delete or Backspace |
| Clear canvas | Ctrl+Shift+Delete |
| Zoom in | + or = |
| Zoom out | - |
| Fit to screen | F |
| Auto-arrange | R |
| Toggle labels | L |
| Select | V |
| Add State | S |
| Add Straight Transition | T |
| Add Curved Transition | C |
| Add Unknown Transition | U |
| Toggle AI Guide | H |
| Toggle Properties Panel | P |
| Apply to Text | Ctrl+Enter |
The AI Guide is a small box at the bottom left of the canvas. It shows the selected state or path, with Ask AI to send it to the AI Assistant and Clear to drop the selection. Tooltips on the toolbar show the current shortcuts.
Obstruction models (COTL)¶
COTL (Coalition Obstruction Temporal Logic) checks ObstructionModel files: a graph where extra players, the demons, can block edges by paying a cost. The model text has three extra sections, listed in the syntax reference of Model Definition:
Number_of_demons: the number of demons.Demon_actions: linesdemon state action cost, the actions a demon can play in a state and what each costs. Idle (*) is always allowed and costs 0.Curses: linesstate a1,...,ak successor..., with one action per demon in demon order (*for idle). When the demons play those actions together, the edges fromstateto each listed successor are blocked.
Example, with one demon that pays 1 to block the edge s1 to s2:
Number_of_demons
1
Demon_actions
1 s1 block_a 1
Curses
s1 block_a s2
A block lasts one step. At the next step the demons choose again, so the edge opens again by itself unless a demon pays to block it again.
The Visual tab shows this data in four places:
| Place | What you see |
|---|---|
| Model Information (parsed model summary, top right) | The "Demon Obstruction" block: demon count, each demon action with its cost, each curse as a sentence such as D1 plays block_a: disables s1->s2. |
| Graph view | Edges a demon can block are red and dashed, with a badge such as D1·1 (demon 1, cost 1; the dot is part of the UI text). An edge several demons can block lists one entry each, for example D1·1 D3·1. Hover an edge for details. |
| Overlays menu, "Show demon blocks" | Turns the red dashed edges and badges on or off. It is on by default for an ObstructionModel. |
| Edit mode | Select an edge to see which demons can block it and at what cost. The Model Configuration panel lists the demon count, demon actions and curses; they are read-only. Renaming or deleting a state updates the demon actions and curses that name it, and Apply to Text writes Number_of_demons, Demon_actions and Curses back. |
Validation adds warnings, not errors, so the model is still accepted. The warnings cover a missing or invalid Number_of_demons, a demon number outside 1 to Number_of_demons in Demon_actions, a curse that lists a different number of actions than Number_of_demons, and a state name in Demon_actions or Curses that is not a state of the model.
Verification traces¶

After a run with trace output, Show Path draws the witness or counterexample on the graph. A Path label near the graph summarizes trace type and length. Combine with layout and zoom to follow the path. Strategy traces show the choices of the coalition (the group of agents named in the formula, such as <1,2>) at each step.
Only CTL returns a trace; see Execute Verification. ATL* has no trace and Show Path stays off; its synthesized strategy has its own button, described in the next section.
ATL* strategy on the graph¶
With the ATL* logic, Synthesize strategy in the Details tab produces, for a satisfied formula, the action each agent of the coalition plays at each position. A position is a model state plus the strategy's memory (see that section). Once the result has a strategy, click Show Strategy to mark it on the graph. In View mode the button is in the toolbar next to Show Path. In Edit mode it is the chess-pawn button, with the tooltip "Show strategy" or "Hide strategy", next to the verification path button. It is independent of Show Path, so both can be on.
The graph has one node per model state, so the marks are per state and per pair of states:
- Nodes the strategy reaches are filled indigo, and the state it starts from has a thicker border. A selected state shows the normal selection colour instead, so click elsewhere to see the indigo again.
- An edge is drawn thicker and indigo when the strategy has a transition from its source state to its target state, whichever joint action (one action per agent) it plays. An edge label can list several joint actions, such as
aI,aO, and the whole edge lights up. The Transitions table in the Details tab says which joint action each transition is. - An edge the strategy never uses, such as a self-loop on a state the strategy leaves at once, keeps its normal colour. Edges for unknown transitions are never marked.
A label at the bottom right of the graph gives the start state and three counts: positions, the model states those positions fall in, and transitions. Select a state to list, for each memory value the strategy has there, the action each coalition agent plays; a state the strategy does not reach says so. Showing the strategy does not move the view.
A strategy is only valid for the model text it was synthesized from, so any change to the model text removes every strategy, and so does a new check. The marks disappear and Show Strategy is disabled until you click Synthesize strategy again. The verification result and its path are not removed by an edit, so check again as well if the change could affect the verdict. In Edit mode the button is also disabled and the marks are hidden while the draft has changes that are not applied yet; Apply to Text changes the model text, which removes the strategy.
Select a state or path for AI¶
- Click a node to select that state (this clears a manual path).
- Shift+click nodes or edges to build a path in order.
Open the AI Assistant to ask about the selection (for example "What holds in this state?" or "Explain this path"). The graph toolbar Ask AI button and the hint below the graph open the same flow.
See AI Assistant for quick actions and graph explain buttons.