11digraph AgenticWorkflow {
22 // --- Graph Settings (Updated Style) ---
33 graph [
4- rankdir = LR,
5- label = " AI Agentic Workflow" ,
6- fontsize = 22,
7- fontname = " Helvetica-Bold,Arial-Bold,sans-serif" ,
8- fontcolor = " #333333" ,
9- labelloc = t,
10- compound = true,
11- bgcolor = " #F8F9FA" ,
12- splines = ortho,
13- nodesep = 0.6,
14- ranksep = 1.2
4+ rankdir = LR,
5+ label = " AI Agentic Workflow" ,
6+ fontsize = 22,
7+ fontname = " Helvetica-Bold,Arial-Bold,sans-serif" ,
8+ fontcolor = " #333333" ,
9+ labelloc = t,
10+ compound = true,
11+ bgcolor = " #F8F9FA" ,
12+ splines = ortho,
13+ nodesep = 0.6,
14+ ranksep = 1.2
1515];
1616
1717// --- Default Node & Edge Styles (from example) ---
1818 node [
19- fontname = " Helvetica,Arial,sans-serif" ,
20- shape = box ,
21- style = " filled,rounded" ,
22- color = " lightblue" , // Border color
23- fillcolor = " white" , // Default fill color
24- penwidth= 2
19+ fontname = " Helvetica,Arial,sans-serif" ,
20+ shape = box ,
21+ style = " filled,rounded" ,
22+ color = " lightblue" , // Border color
23+ fillcolor = " white" , // Default fill color
24+ penwidth = 2
2525];
2626edge [
27- fontname = " Helvetica,Arial,sans-serif" ,
28- color = " black" ,
29- arrowhead = vee,
30- fontsize = 10
27+ fontname = " Helvetica,Arial,sans-serif" ,
28+ color = " black" ,
29+ arrowhead = vee,
30+ fontsize = 10
3131];
3232
3333// --- Node Definitions (with new colors) ---
3434 Start [
35- shape = circle ,
36- label = " Start" ,
37- fontname = " Helvetica-Bold,Arial-Bold,sans-serif"
35+ shape = circle ,
36+ label = " Start" ,
37+ fontname = " Helvetica-Bold,Arial-Bold,sans-serif"
3838];
3939End [
40- shape = doublecircle ,
41- label = " End" ,
42- fontname = " Helvetica-Bold,Arial-Bold,sans-serif"
40+ shape = doublecircle ,
41+ label = " End" ,
42+ fontname = " Helvetica-Bold,Arial-Bold,sans-serif"
4343];
4444
4545HumanLoop [
46- label = " User Feedback" ,
47- fillcolor = " lightgreen"
46+ label = " User Feedback" ,
47+ fillcolor = " lightgreen"
4848];
4949AIModel [
50- label = " AI Model" ,
51- fillcolor = " lightpink"
50+ label = " AI Model" ,
51+ fillcolor = " lightpink"
5252];
5353
5454// --- Agentic Loop Cluster (styled like example) ---
5555 subgraph cluster_agentic_loop {
5656label = " Agentic Loop" ;
5757style = " dashed" ;
5858color = " lightgrey" ;
59- fontname = " Helvetica-Bold,Arial-Bold,sans-serif" ;
59+ fontname = " Helvetica-Bold,Arial-Bold,sans-serif" ;
6060
6161// Nodes inside the cluster get a yellow fill
62- node [fillcolor = " lightyellow" ];
62+ node [fillcolor = " lightyellow" ];
6363
6464Plan;
6565Execute;
@@ -69,11 +69,11 @@ Plan -> Execute -> Check;
6969}
7070
7171// --- Layout and Workflow Connections ---
72- HumanLoop -> Execute -> AIModel [style = invis, minlen = 1];
72+ HumanLoop -> Execute -> AIModel [style = invis, minlen = 1];
7373
74- Start -> Plan [lhead = cluster_agentic_loop];
75- Check -> End [ltail = cluster_agentic_loop];
74+ Start -> Plan [lhead = cluster_agentic_loop];
75+ Check -> End [ltail = cluster_agentic_loop];
7676
77- HumanLoop -> Plan [lhead = cluster_agentic_loop, constraint = false, xlabel= " Feedback " ];
78- Execute -> AIModel [ltail = cluster_agentic_loop, constraint = false, xlabel= " Uses " ];
77+ HumanLoop -> Plan [lhead = cluster_agentic_loop, constraint = false, xlabel = " Feedback " ];
78+ Execute -> AIModel [ltail = cluster_agentic_loop, constraint = false, xlabel = " Uses " ];
7979}
0 commit comments