AI Interfaces
Tool Dependency Graph
A compact execution DAG showing tool order, dependency gates, live state, and critical-path timing.
Installation
Copy and paste the code into your project.
Accessibility notes
An ordered list preserves dependency sequence and each tool includes a readable execution state.
Execution graph
Research workflow
- 01
Search docs
Complete
- 02
Extract facts
Running
- 03
Draft answer
Waiting
Preview accent
const tools = [{ name: "Search docs", state: "Complete", step: "01" }, { name: "Extract facts", state: "Running", step: "02" }, { name: "Draft answer", state: "Waiting", step: "03" }];
export function ToolDependencyGraph() {
return <section className="w-full max-w-md rounded-xl border border-white/12 bg-[#0b0f14]/92 p-4 shadow-2xl">
<header><p className="text-xs font-semibold uppercase tracking-[0.18em] text-[#a78bfa]">Execution graph</p><h3 className="mt-1 text-base font-bold text-white">Research workflow</h3></header>
<ol className="mt-5 flex gap-2">{tools.map((tool, index) => <li key={tool.name} className="flex min-w-0 flex-1 items-center gap-2"><div className="min-w-0 flex-1 rounded-lg border border-white/9 bg-white/[0.025] p-3"><span className="text-[0.6rem] text-slate-500">{tool.step}</span><p className="mt-2 text-xs font-semibold text-slate-200">{tool.name}</p><p className="mt-1 text-[0.65rem] text-slate-500">{tool.state}</p></div>{index < tools.length - 1 && <span aria-hidden="true">→</span>}</li>)}</ol>
</section>;
}<ToolDependencyGraph />Related components
Approval
Publish launch prompt
AI Interfaces
Approval Action Panel
A review panel with assignee chips and paired approval actions for launch workflows.
Pipeline
AI Interfaces
Data Pipeline Card
A simple horizontal pipeline for data prep, agent workflows, and release steps.
Human handoff
Ready to escalate?
complete
Decision summary
Generated
Supporting evidence
4 sources attached
Open risks
1 needs review
Next owner
Support lead
AI Interfaces
Handoff Readiness Card
A pre-escalation checklist for packaging AI decisions, evidence, risks, and ownership for human review.