On this page
- Which figures are drawn with code, and which by an image model?
- How does the code-drawn pipeline work?
- What do the automated tests check?
- What can the code-drawn tools not do yet?
- What goes wrong in image-model figures, and how do you proofread them?
- Which figure types are moving to code next?
- Questions about accuracy
Which figures are drawn with code, and which by an image model?
Vizcept has two drawing pipelines. Which one your figure goes through decides what you need to check.
| Figure type | How it is drawn | What you can rely on | What you still check |
|---|---|---|---|
| Syntax trees | A language model analyses the sentence; code lays out and typesets the tree | Words and labels are set in a font as the analysis wrote them, each label in its own space; the SVG keeps real, editable text | The analysis: constituents, labels for your course's framework, and that the words match your sentence |
| Sentence diagrams | Same: language-model analysis, then ReedβKellogg layout in code | The same, and tests on real sentences check that every word is drawn and no two pieces of text overlap | Same as above |
| Conceptual frameworks | A language model reads your description and returns the constructs and the paths between them; code places the boxes and draws the arrows | Construct names are typeset from the analysis, every hypothesis label sits on exactly one arrow, mediators sit on the path and moderators point at a path | The analysis: which construct is the mediator, which way each arrow runs, and that the names match your chapter |
| Every other type, including PRISMA flow diagrams | An image model paints the whole figure from your description | The layout conventions for each figure type are built into the instructions | Every label, arrow and number |
All three code-drawn types go to the image model instead when you upload a sketch or photo, when your text has characters the font can't set (Chinese, Japanese and Korean among them), or when the analysis fails. Those figures need the same proofread as any image-model figure. Each tool page says which pipeline it uses.
How does the code-drawn pipeline work?
- Analysis. A language model reads your sentence and returns only its structure: a labeled bracket string for a syntax tree, or a ReedβKellogg structure for a sentence diagram. It does not draw anything.
- Checks. Code verifies the structure before drawing: brackets must balance, every node needs a label, and every character must exist in the font. If a check fails, the analysis is retried or sent to a second model.
- Layout. Code positions every node and line, then typesets the text in Tinos, a Times-compatible font. The PNG is rendered from vector outlines; the SVG download keeps real text you can edit.
- Fallback. Sketches and photos, sentences with characters the font can't set (such as Chinese, Japanese or Korean), and analyses that fail all go to the image model, so you still get a figure, just more slowly, and it needs the full proofread below. If your input contains no sentence at all, the request fails and no credits are charged.
When code draws the figure, it cannot misspell a word or smudge a label. It can only draw what the analysis says β which is why the analysis is the part to read.
What do the automated tests check?
The layout code has to pass a test suite before any change ships.
- Sentence diagrams: for a set of hand-written sentence patterns and 16 analyses of real sentences, every word in the analysis must appear in the drawing, and no two pieces of text may overlap. Overlap is measured on the actual glyph outlines, not estimated.
- Syntax trees: bracket strings must parse with the words kept in their original order under their category nodes; unbalanced or empty brackets are rejected; every trace produces a movement arrow, and no trace means no arrow.
- Fonts: characters the font cannot draw, such as Chinese, Japanese and Korean, are detected before drawing, so those requests go to the image model instead of printing empty boxes.
What the tests do not check is whether the analysis is linguistically right for your framework. That part is a model's judgement, so read it the way you would read a classmate's answer.
What can the code-drawn tools not do yet?
- Right-to-left languages. Hebrew and Arabic sentences are not laid out right-to-left yet, so word order can come out reversed. Don't use them for published trees.
- Chinese, Japanese and Korean. These go to the image model, because the typesetting font does not cover them. Proofread the characters.
- LaTeX export. There is no qtree or forest export yet. Download the SVG or PNG instead.
- Contested analyses. Where frameworks disagree β ellipsis sites, scrambling, small clauses β the model picks one analysis. Tell it which one your course uses.
What goes wrong in image-model figures, and how do you proofread them?
An image model paints text as pixels. It makes mistakes a person would not, and the same ones keep coming up:
- Misspelled or invented words, especially in long technical terms.
- The same label placed twice, or one box drawn twice and wired twice.
- Arrows pointing the wrong way or joining the wrong boxes.
- Numbers that drift: 1,234 becomes 1,243, and totals stop adding up.
- Text you never asked for, such as an invented subtitle.
A five-minute proofread catches almost all of it:
- Read every label against your source β Chapter 2 for a framework, the screening spreadsheet for PRISMA, the methods section for a workflow.
- Trace each arrow from start to end and say the relationship out loud.
- Re-add every number. PRISMA counts must reconcile from one box to the next.
- If something is wrong, mark it in the editor and describe the fix, or change the description and regenerate. Every version is kept in the Studio, so you can go back.
How often does it go wrong? On one framework description we ran ten times, the wording was right every time and the moderator arrow landed on the wrong path four times; the counts are in the FigureLabs comparison.
Which figure types are moving to code next?
Conceptual frameworks moved to the analysis-plus-code pipeline, so construct names and hypothesis labels are now typeset rather than painted. PRISMA flow diagrams are next, because a wrong count there costs the most. Until a figure type moves over, its tool page says it is drawn by an image model, and this page is updated when that changes. We don't give dates we can't keep.
Questions about accuracy
Is Vizcept 100% accurate?
No tool that uses AI is. When code typesets a syntax tree or sentence diagram, the words appear exactly as the analysis wrote them, but the analysis itself can still be wrong. Figures drawn by the image model, which includes every other figure type, need a full proofread.
Which figure types are drawn with code?
Syntax trees, sentence diagrams and conceptual frameworks, unless you upload a sketch or photo, your text has characters the font can't set, or the analysis fails; then the image model draws them. PRISMA flow diagrams, graphical abstracts and the other figure types are currently drawn by an image model.
Why does my syntax tree differ from my textbook?
Textbooks use different frameworks. Pick traditional, X-bar or Minimalist labels in the tool, and name your textbook's conventions in the prompt, for example "use DP rather than NP" or "show the trace of the moved auxiliary".
Does a code-drawn figure cost more credits?
No. A figure costs the same whichever way it is drawn: 5 credits at 2K and 8 credits at 4K. If your input contains no sentence, the request fails and nothing is charged.
What should I do if I find a mistake?
Fix it in the editor or regenerate with a corrected description; earlier versions stay in the Studio. If a code-drawn tree keeps getting the same structure wrong, email [email protected] with the sentence so we can fix the instructions.
See a code-drawn tree
Type a sentence, pick a framework and compare the tree with your own analysis.
