EditorMermaid
flowchart TD
%% ========================================
%% GraphPro Feature Showcase
%% ========================================
%% Start/End terminals (rounded)
Start([Start Process]) --> Input[/User Input/]
%% Subgraph: Data Processing
subgraph DataProcessing[Data Processing Pipeline]
Input --> Validate{Valid?}
Validate -->|Yes| Transform[Transform Data]
Validate -->|No| ErrorHandle[Handle Error]
ErrorHandle --> Retry{Retry?}
Retry -->|Yes| Input
Retry -->|No| Abort([Abort])
end
%% Subgraph: Business Logic
subgraph BusinessLogic[Business Logic Layer]
Transform --> Calculate[[Calculate Metrics]]
Calculate --> Decision{Route?}
Decision -->|Path A| ProcessA[Process A<br/>Standard Flow]
Decision -->|Path B| ProcessB[Process B<br/>Priority Flow]
Decision -->|Path C| ProcessC[(Database<br/>Storage)]
end
%% Subgraph: Output Handling
subgraph OutputLayer[Output & Notifications]
ProcessA --> Merge[Merge Results]
ProcessB --> Merge
ProcessC --> Merge
Merge --> Format[/Format Output/]
Format --> Notify{Notify?}
Notify -->|Email| Email[Send Email]
Notify -->|SMS| SMS[Send SMS]
Notify -->|None| Skip[Skip Notification]
end
%% Final convergence
Email --> Complete([Complete])
SMS --> Complete
Skip --> Complete
%% Custom styles for different node types
classDef terminal fill:#d4edda,stroke:#28a745,stroke-width:2px
classDef process fill:#e7f1ff,stroke:#4a90d9,stroke-width:2px
classDef decision fill:#fff3cd,stroke:#ffc107,stroke-width:2px
classDef database fill:#f8d7da,stroke:#dc3545,stroke-width:2px
classDef io fill:#e2d5f1,stroke:#9b59b6,stroke-width:2px
class Start,Complete,Abort terminal
class Transform,Calculate,ProcessA,ProcessB,Merge,ErrorHandle process
class Validate,Decision,Retry,Notify decision
class ProcessC database
class Input,Format ioDrag from node edge to connect
Saved Graphs
Loading...
