Sequence Status Workflow - Design Specification
Executive Summary
This document specifies a redesigned workflow diagram for sequence statuses. The goal is to create a compact, scannable visualization that can be understood in under 5 seconds.Current Problems (Analysis)
Recommended Approach: Two-Track Horizontal Layout
Why This Approach?
- Horizontal flow matches reading direction - Left-to-right progression is intuitive
- Parallel tracks show branching clearly - 4D track above, 2D track below, visually distinct
- Compact width - Fits in typical doc/readme viewport (800px)
- Rework as annotation - Not a full path; shown as a simple return arrow with clear label
Dimensions
- Width: 800px - Fits in most markdown viewers, GitHub, docs
- Height: 280px - Compact; no scrolling required
- Padding: 20px on all sides
Layout Grid
The diagram uses a 5-column horizontal grid:
Row positions:
- Track labels: y=20 (small text)
- 4D track: y=60 (center of state boxes)
- 2D track: y=140 (center of state boxes)
- Shared path: y=100 (center, for converged flow)
- Legend: y=250
State Positions (Exact Coordinates)
Column 1: Initial (Stacked Vertically, Centered)
All three initial states share one column, shown as a compact vertical stack:
Box dimensions: 130x28 each (compact)
Column 2: Labeling (Two Tracks)
Box dimensions: 110x28 each
Column 3: Review (Two Tracks + Transition)
Box dimensions: 100x28 (review_4d, review_2d), 95x24 (ready_for_2d - smaller, transitional)
Column 4: Final Review
Box dimensions: 110x28 (final_review), 120x24 (rework_required - red accent)
Column 5: Completion
Box dimensions: 100x28 each
Arrow Paths (Connections)
Happy Path (Main Flow)
All arrows use gray (#71717a) with arrowhead marker.Rejection Path (Rework Loop)
Uses red (#ef4444) stroke and arrow.
Rework arrow implementation:
- Start: right side of
rework_required - Curve: down and left, passing beneath the main flow
- End: bottom of
labeling_2dorlabeling_4d(depending on what type of rework) - Use a simple curved path or rounded corner path, not complex bezier
- Small red text below
rework_required: “returns to labeling” - This avoids arrow chaos while communicating the concept
Color Scheme (Minimal)
Use the existing color scheme but simplified:Typography
Visual Hierarchy
- Primary: State boxes and their labels (most prominent)
- Secondary: Main flow arrows (gray, moderate weight)
- Tertiary: Track labels “4D path” / “2D path” (faded)
- Accent: Rejection/rework path (red, draws attention to exception flow)
- Reference: Legend (bottom, small)
Rework Loop Design Decision
Recommendation: Use annotation, not complex arrow Instead of drawing a complex curved arrow that loops back:- Arrow crossing other arrows
- Visual clutter
- Ambiguity about which labeling state it returns to
- Draw a red dashed path from
rework_requiredgoing DOWN, then LEFT under the diagram, then UP tolabeling_2d - Keep stroke thin (1px) and dashed to differentiate from main flow
Legend (Compact, Horizontal)
Position: Bottom of diagram (y=250), centered horizontallyImplementation Notes for the Implementing Agent
- Start with the grid - Lay out columns first, then place boxes
- Draw happy path first - All the gray arrows for normal flow
- Add rejection/rework last - So it overlays correctly
- Test readability - View at 100% zoom in browser; all text must be legible
- Keep stroke widths consistent - 1.5px for arrows, 1.5-2px for box borders
- Rounded corners - rx=“5” for all state boxes (friendly, modern look)
Expected Result
A compact horizontal workflow that:- Shows the complete sequence status flow at a glance
- Clearly distinguishes 4D and 2D tracks
- Makes the happy path obvious (left-to-right)
- Shows rework as an exception path without cluttering the main flow
- Fits in 800x280 pixels