Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: remove redundant Mermaid graph direction enforcement (#19024)
Hao Cheng2a3cc43b6208
diff --git a/web/app/components/base/mermaid/utils.ts b/web/app/components/base/mermaid/utils.tsindex 9c7ab4a7b50..7d94150d127 100644--- a/web/app/components/base/mermaid/utils.ts+++ b/web/app/components/base/mermaid/utils.ts@@ -22,10 +22,6 @@ export function preprocessMermaidCode(code: string): string {.replace(/section\s+([^:]+):/g, (match, sectionName) => `section ${sectionName}:`)// Fix common syntax issues.replace(/fifopacket/g, 'rect')- // Ensure graph has direction- .replace(/^graph\s+((?:TB|BT|RL|LR)*)/, (match, direction) => {- return direction ? match : 'graph TD'- })// Clean up empty lines and extra spaces.trim()}