Repository navigation
Replies: 2 comments
|
For topology diagrams, one pattern that works well is to separate structure from styling:
Example sanitized input: "Branch office with ISP1, ISP2, dual-WAN firewall, core switch, user VLAN, server VLAN, guest Wi-Fi VLAN, site-to-site VPN to HQ, monitoring/logging, and primary/failover traffic paths. Group by trust zone." The benchmark I would use is not whether the output is the prettiest diagram. It is whether a network reviewer can inspect zones, links, and traffic direction without redrawing from zero. |
Cleaning up a rich-mode layoutWhen the AI hand-places a rich-mode (draw.io) diagram, the arrangement can come out a little untidy. Two different clean-ups are available — just ask in plain words: Re-arrange the boxes — moves everything into a clean, evenly-spaced layout. Best for flowcharts, trees, and hierarchies:
Just fix the connectors — leaves your boxes where they are and redraws the lines so they run in clean right angles around the boxes instead of cutting across them. Best when the placement is fine but the wiring is messy:
You can ask for either — pick re-arrange when the whole layout is off, or fix-the-connectors when only the lines are messy. (Quick-mode diagrams are already auto-arranged, so this only applies to rich mode.) Under the hood these are the ELK layout and libavoid routing engines, but you never need to name them — plain language works. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This guide is now part of the draw.io documentation:
Write prompts for diagrams in AI assistants
All guides: Set up draw.io in your AI assistant · Diagram viewer · Write prompts · Diagram types and examples · Change and style diagrams · Gallery · Install options and output formats
Questions, ideas and examples of your own are welcome here in the Discussions.
All reactions