afv-library/skills/agentforce-architecture-analyze/assets/mermaid/action_tree.mmd

21 lines
986 B
Plaintext

%% action_tree.mmd - section 4 declared action tree (flowchart TB)
%%
%% Placeholders (substituted by render_architecture.load_mermaid):
%% SUBGRAPHS placeholder: one `subgraph <topic_id>[<topic_label>] ... end`
%% block per topic. Non-topic actions (plannerActions)
%% go in a synthetic subgraph keyed `_plannerActions`.
%% EDGES placeholder: tree edges, one per child->parent descent. Cycle-
%% back annotations render as dotted back-edges
%% `A -.->|cycle| B` (see
%% render_architecture._render_action_tree).
%%
%% placeholder names are written as bare tokens (no double-curly)
%% so load_mermaid's single-pass str.replace cannot corrupt this header.
%%
%% Node-cap enforcement: if the tree exceeds `max_mermaid_nodes["flowchart"]`,
%% the renderer emits a summary placeholder instead of this template.
flowchart TB
{{SUBGRAPHS}}
{{EDGES}}