You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"section_context": "Detailed description of what the figure should show, including all components, connections, data flows, and key metrics mentioned in the paper. Be as detailed as possible — the more context, the better the generated figure.",
523
-
"latex_label": "fig:overview"
523
+
"latex_label": "fig:overview",
524
+
"placement": "full_width"
524
525
}}
525
526
]
526
527
```
527
528
529
+
For each figure, you MUST decide the "placement" field:
530
+
- "full_width": for complex figures — multi-stage pipelines, system architectures with many components, diagrams that need horizontal space. Uses `\\begin{{figure*}}` spanning all columns.
531
+
- "single_column": for simpler figures — single concept with few components, small diagrams. Uses `\\begin{{figure}}` in one column.
532
+
533
+
Decision criteria: if the figure has 4+ components, multiple stages, or branching paths → "full_width". If it's a simple 2-3 component relationship → "single_column".
534
+
528
535
Only include figures that:
529
536
1. Are referenced in LaTeX but have no existing file, OR
530
537
2. Are concept/architecture/mechanism diagrams that could be improved with AI generation
"visual_intent": f"{caption}IMPORTANT: Keep text minimal — component labels MAX 3-5 words, connection labels MAX 1-3 words. Use icons and visual layout to convey meaning, not text. Total visible text under 50 words.",
707
+
"visual_intent": f"{caption}STYLE: Labels MAX 3-5 words, NO sentences inside components. BUT make icons detailed and elaborate (not simple flat shapes). Layout should be COMPACT — minimize whitespace, pack components closely. The figure should feel dense and information-rich through its visual elements, not through text.",
- NO drop shadows, NO gradients, NO 3D effects. Flat design with semantic richness.
323
323
- Every visual element should encode meaning — if a color/shape/line doesn't convey information, remove it
324
324
325
-
### 6. TEXT BREVITY (CRITICAL — the #1 mistake is too much text)
326
-
- A diagram is a VISUAL ABSTRACTION, not a text document. Communicate through shapes, colors, icons, and layout — NOT paragraphs.
327
-
- **Component labels**: MAX 3-5 words (e.g., "LLM Semantic Detection", NOT "Uses a large language model to analyze skill instructions and classify them as benign or malicious")
328
-
- **Connection labels**: MAX 1-3 words (e.g., "Benign", "Malicious", "Repaired")
329
-
- **Annotations**: MAX 1 short phrase if essential (e.g., "F1=0.95", "N=18K"). Skip if not critical.
330
-
- **NO sentences or descriptions inside components**. The caption and paper body handle explanations.
331
-
- **NO bullet lists, paragraphs, or multi-line text blocks** inside any component.
332
-
- If a component needs explanation beyond its label, use a small icon to convey meaning visually instead.
333
-
- Total visible text in the entire figure should be under ~50 words.
325
+
### 6. TEXT vs VISUAL BALANCE (CRITICAL)
326
+
**Text must be SHORT, but visuals must be RICH.** These are different things.
327
+
328
+
TEXT rules (keep it minimal):
329
+
- Component labels: MAX 3-5 words. NO sentences inside components.
330
+
- Connection labels: MAX 1-3 words (e.g., "Benign", "Repaired")
331
+
- NO paragraphs, bullet lists, or multi-line text inside components
332
+
- Total visible text in the figure: under ~60 words
333
+
334
+
VISUAL rules (make it rich and detailed):
335
+
- Each component should have a DETAILED, recognizable icon (not a simple flat shape — e.g., a magnifying glass hovering over a document for detection, gears with a wrench for repair, a shield with embedded lock for security, a brick wall with a scanning beam for firewall)
336
+
- Show internal sub-structure visually: nested mini-elements, small thumbnails, overlapping shapes
337
+
- Use visual metaphors: a funnel for filtering, a pipeline for flow, stacked layers for hierarchy
338
+
339
+
LAYOUT rules (keep it compact):
340
+
- MINIMIZE whitespace between components. Pack elements closely.
341
+
- Components should feel tightly arranged with clear, short connections
342
+
- Avoid large empty areas — if there's space, add a visual annotation or detail
343
+
- The diagram should feel DENSE and INFORMATIVE even without reading the text
334
344
335
345
IMPORTANT: Do NOT include font sizes (e.g., "12pt"), hex color codes (e.g., "#E6F3FF"), or CSS-like properties in component descriptions. Those are for the style guide only. Just describe WHAT to draw — shapes, labels, connections, zones, icons — in plain language. The image generator will interpret font specs as literal text to render.
0 commit comments