For an AI SVG diagram you can revise, ask for SVG source with labels in <text> elements, then inspect the source and the rendered result. Specify where each arrow should start and end. “Make an onboarding diagram” leaves too much of the job unwritten. A help-page diagram is a useful job for this app roach. The wording may change after someone reviews the onboarding steps, and the retry path needs to return to the right place. Before judging the colors, check whether you received the artifact you asked for. Ask for the source file, exact step labels, and the direction of every connection.
If you'll need to change wording later, specify SVG <text> elements rather than leaving the representation of labels to the model. An editable SVG diagram is a source file whose labels are still text you can find and replace. A preview shows how it looks; only the source shows whether the labels are text. MDN describes <text> as an SVG graphics element made of text. That's what we asked for. The task was a fictional SaaS help-page flow, with a fixed step order and a Retry arrow from Verify email back to Sign up. The exact prompt from our December 4 test was: Create one self-contained HTML file in one code block, no explanation. Build an inline SVG onboarding flow for a SaaS help page: Sign up -> Verify email -> Create workspace -> Invite teammate.
Show all four steps and a labeled retry arrow from Verify email back to Sign up. Every visible label must use SVG text elements, never paths or an image. Fit the entire diagram in a 360 by 480 viewBox, use legible text, no external resources. Keep the HTML under 100 lines.
The narrow 360 by 480 box was on purpose: help pages are often read on phones. For a wider process map, change the size. The HTML wrapper also wasn't a workaround. The W3C SVG specification says SVG can stand alone or appear inline inside HTML.
Here, an HTML file containing inline SVG was the requested deliverable. If your handoff needs a standalone .svg file, ask for that explicitly. Write down the exact labels before asking for visual polish. Then name which styling decisions the model may make.
You might allow colors and corner shapes while protecting the step names and connections. Be most specific about any arrow that goes backward. “Add retry” leaves the target unstated. “Draw Retry from Verify email back to Sign up” tells the reviewer exactly where to look.
If that instruction is wrong for your product, fix the brief before generating a diagram. Both GPT-6.1 Sol and Claude Sonnet 5.5 produced the requested labels as SVG text and returned Retry to the specified step in the December 4, 2026 test. We read both source files and opened both previews in EVA. On those criteria it's a tie. Criterion in the December 4 test GPT-6.1 Sol Claude Sonnet 5.5 Requested steps in order Present Present Step labels stored as SVG text Present Present Retry from Verify email to Sign up Present Present Steps and return arrow visible in EVA Preview Yes Yes Return-arrow appearance Gray line Red dashed line Manual editing in a design app Not tested Not tested Look at the Retry paths in the screenshots. Sol puts its gray return line on the left. Sonnet puts the red dashed return on the right, away from the downward sequence. Different styling, same destination.
On the requested labels and connections, the result is a tie. We didn't edit the files in a design app or repeat the generations. There are no separately measured model response times in the record either. Check the wording and arrow direction before polishing the layout.
For a help page, I'd rather send back a rough diagram with the correct workflow than approve a polished diagram that tells the reader to go to the wrong step. Search the source for the exact step wording. Confirm that the displayed label belongs to a <text> element, rather than treating a matching phrase elsewhere in the file as proof. Repeat that inspection for the labels your team expects to edit. Then trace the Retry connection in the preview. Follow it from the source box to the arrowhead. A line near the right boxes isn't enough if its direction communicates the wrong action. Accept a diagram against the requested labels and connections before choosing between visual styles.
A preferred color scheme doesn't excuse an incorrect workflow. For a handoff, keep a short checklist alongside the file: The visible labels match the agreed wording. Each connection starts and ends at the requested step. Labels that need revision are SVG text in the source.
The intended editing and display environments have been checked, or are explicitly marked untested. Don't stop at a large preview. Open the diagram where readers will see it, and look for clipped labels or a return arrow that becomes difficult to follow. MDN's viewBox reference defines viewBox as the position and dimensions of an SVG viewport in user space.
It doesn't certify readability. Treat the requested viewBox as a layout constraint, then judge the rendered result separately. Wording changes deserve another look at the layout. MDN also notes that SVG text doesn't wrap by default.
Don't assume a longer replacement label will fit just because the original did. For a follow-up exercise, change “Invite teammate” to wording your product uses. Keep the original file so you can compare the change. Pick the label someone is most likely to revise, rather than the shortest replacement that fits comfortably.
If you ask AI to make that revision, state what must stay unchanged: the other labels, the connections, and any layout choices you've already approved. Our guide to telling AI what not to change explains how to define that boundary and check the returned edit. Ask the recipient to try the edit they actually need to make. If changing a label becomes a redraw, keep the file in review rather than calling the handoff finished. Send the source file and the approved wording. Include the connections that must stay unchanged, and say which checks you've completed. A screenshot is useful for comparison, but don't make your colleague reconstruct the source from it. Request the format your recipient needs.
W3C documents both standalone SVG and SVG embedded in HTML. This test requested HTML with inline SVG so the deliverable and its preview belonged to the same task. A standalone SVG handoff needs a different output instruction. Use your product's actual behavior.
That destination was part of the fictional brief. Write the correct source and destination into your own prompt before generating the diagram; don't adopt a workflow just because the example looks finished. Review the layout after changing the wording. Ask for a targeted spacing or text-layout correction, and protect the other labels and connections.
Don't approve the revision until you've opened it at the size where the diagram will be used. Compare your own diagram prompt in EVA. Originally published at evaonline.ai.
Key Takeaways #
- •The wording may change after someone reviews the onboarding steps, and the retry path needs to return to the right place.
- •This story was reported by Dev.to , covering developments in thedev space.
- •AI advancements continue to reshape industries — read the full article on Dev.to for complete coverage.
📖 Continue reading the full article: