gx, the command-line tool
gx reads and edits DOT and Mermaid files by their structure, not by text search.
Only gx open and gx session need the desktop app.
All other commands work in a terminal with no window.
gx run- List the nodes, arrows, and groups, or change attributes, groups, and records.
gx import- Add a file to the library, linked to that file.
gx sync, gx watch- Keep library diagrams and their files the same, or stream changes.
gx open- Show a file or a library diagram in the desktop app.
gx session- Select elements or reset the view in the window that is open now.
For coding agents
gx comes with a skill file that tells a coding agent how to use it.
Run gx skill to get its address for your version, then give it to your agent.