Use your own AI app
Create, read and change sequence diagrams from your own AI app through the Penna connector.
A connected AI app can work on sequence diagrams through the same tools:
- Ask for one by name: "Create a sequence diagram called Checkout payment."
create_diagramtakes akind, andsequencemakes a sequence diagram. Without it, the AI creates a BPMN process. list_diagramssays each diagram's kind, so the AI knows which are sequence diagrams.get_diagramreturns the sequence code with every element's id.write_diagramtakes sequence code, andedit_diagramtakes edits to participants, messages, notes, dividers and fragments.lookup_guidancehassequence-codefor the syntax,sequence-stylefor the drawing style, and reference interactions for common flows. The AI is told to look up the syntax before its first write. See Guidance topics.
The diagram card in the chat, live updates and the version history work as for a process. See Tools for every tool and edit.