diff --git a/src/components/viz/AgentWorkflow.tsx b/src/components/viz/AgentWorkflow.tsx index cf34482..14b1cf5 100644 --- a/src/components/viz/AgentWorkflow.tsx +++ b/src/components/viz/AgentWorkflow.tsx @@ -252,7 +252,7 @@ export function AgentWorkflow({ preserveAspectRatio="xMidYMid meet" role="group" aria-label="Agent workflow graph" - style={{ display: 'block', width: '100%', minWidth: 760, height: 'auto' }} + style={{ display: 'block', width: '100%', minWidth: 600, height: 'auto' }} > {/* edges */} diff --git a/src/components/viz/Orchestra.tsx b/src/components/viz/Orchestra.tsx index bcb6c67..7949bf6 100644 --- a/src/components/viz/Orchestra.tsx +++ b/src/components/viz/Orchestra.tsx @@ -144,6 +144,7 @@ export function Orchestra({ onHover, onInspect, loading, + gridClass = 'grid-cols-2 sm:grid-cols-3 lg:grid-cols-6', }: { votes: Vote[] decision: Direction @@ -152,6 +153,8 @@ export function Orchestra({ onHover?: (a: string | null) => void onInspect?: (s: string | null) => void loading?: boolean + /** Tailwind grid-cols classes for the layer columns — override when placed side-by-side. */ + gridClass?: string }) { const decCol = dirColor(decision) @@ -164,7 +167,7 @@ export function Orchestra({ -
+
{STATIC.map((layer) => (
diff --git a/src/pages/Terminal.tsx b/src/pages/Terminal.tsx index 4cfb1e4..e4dd282 100644 --- a/src/pages/Terminal.tsx +++ b/src/pages/Terminal.tsx @@ -494,11 +494,11 @@ export function Terminal() { loading={loading} /> - {/* ── orchestra · the full agent pipeline ── */} - - - {/* ── agent flow · the pipeline as an interactive workflow graph ── */} - + {/* ── pipeline row · Orchestra (left) ‖ Agent flow graph (right) ── */} +
+ + +
{/* ── workspace ── */}