mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-07-30 03:09:50 +08:00
20 lines
893 B
Plaintext
20 lines
893 B
Plaintext
%% data_flow.mmd - section 8 data flow / context propagation (flowchart LR)
|
|
%%
|
|
%% Placeholders (substituted by render_architecture.load_mermaid):
|
|
%% NODES placeholder: node declarations: `<id>[<label>]`, one per line.
|
|
%% EDGES placeholder: labeled-where-possible edges:
|
|
%% `A -->|<var>: <type>| B`, bare `A --> B` when no
|
|
%% parameter threads between the lanes.
|
|
%%
|
|
%% placeholder names are written as bare tokens (no double-curly)
|
|
%% so load_mermaid's single-pass str.replace cannot corrupt this header.
|
|
%%
|
|
%% Source: GenAiPlannerAttrDefinition rows on the planner drive which slots
|
|
%% populate which actions. Renderer (render_architecture._render_data_flow)
|
|
%% builds nodes/edges from the tree's planner-slot metadata; no slots ->
|
|
%% degenerate diagram with just `User --> Planner --> Actions` skeleton.
|
|
flowchart LR
|
|
{{NODES}}
|
|
|
|
{{EDGES}}
|