Skip to content

Instantly share code, notes, and snippets.

@sany2k8
Created October 21, 2025 08:56
Show Gist options
  • Save sany2k8/0f89188dc488e073581ca9045d6b6642 to your computer and use it in GitHub Desktop.
Save sany2k8/0f89188dc488e073581ca9045d6b6642 to your computer and use it in GitHub Desktop.
flowchart TD
%% =============================
%% Global Layout Tweaks
%% =============================
%% Make arrows thicker and more visible
linkStyle default stroke-width:2px,stroke:#555,opacity:0.9;
%% =============================
%% Subgraph: Job
%% =============================
subgraph Job
direction TB
A[vc_regw_cidw_get_prices_job.py] --> B[IpvRegwManager]
X1(( )):::invisible
end
%% =============================
%% Subgraph: Manager
%% =============================
subgraph Manager
direction TB
B --> C[IpvRegwCidwRequest]
B --> D[IpvRegwPricerInterface]
B --> E[Output/SFTP]
end
%% =============================
%% Subgraph: PricerInterface
%% =============================
subgraph PricerInterface
direction LR
D --> F[IpvRegwPricerFactory]
D --> G[IpvRegwPricerUtil]
D --> H[IpvRegwPricerRule]
D --> I[Config: IpvRegwPricerColumns, IpvRegwRequest, IpvRegwResponse, IpvRegwKwargs, IpvRegwPriceCode, IpvRegwPricerType]
end
%% =============================
%% Subgraph: PricerFactory
%% =============================
subgraph PricerFactory
direction LR
F --> J[IpvRegwPricerMuni]
F --> K[IpvRegwPricerMbs]
F --> L[IpvRegwPricerVisaB]
F --> M[IpvRegwPricerChineseEquity]
F --> N[IpvRegwPricerFixedIncome]
end
%% =============================
%% Data Flow Connections
%% =============================
C -->|request data| B
B -->|validated data| D
D -->|pricing logic| F
F -->|pricer type| J
F -->|pricer type| K
F -->|pricer type| L
F -->|pricer type| M
F -->|pricer type| N
D -->|utils/config| G
D -->|rules/config| H
D -->|rules/config| I
D -->|results| B
B -->|output| E
%% =============================
%% Styling (Mermaid v10+ CSS syntax)
%% =============================
classDef invisible fill:transparent,stroke:transparent;
classDef job fill:#fef6e4,stroke:#d4b106,stroke-width:1px,color:#000;
classDef manager fill:#e0f2fe,stroke:#0369a1,stroke-width:1px,color:#000;
classDef interface fill:#dcfce7,stroke:#15803d,stroke-width:1px,color:#000;
classDef factory fill:#fae8ff,stroke:#9333ea,stroke-width:1px,color:#000;
class A,X1 job;
class B,C,E manager;
class D,F,G,H,I interface;
class J,K,L,M,N factory;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment