id: logic-tree
name:
  ja: "ロジックツリー（課題・KPIドライバー分解）"
  en: "Logic Tree (Problem / KPI Driver Decomposition)"
purpose:
  ja: "親IDで結んだ可変階層をD3のtidy treeで幹・枝・葉へ配置し、葉の寄与値を親へ自動集計して細い枝の線幅へ反映する。同じnode identityを構造から葉ドライバーの寄与度へ切り替え、構造では曲線・直線・直角の枝を閲覧者が選び、最大寄与の祖先経路を1件強調する"
  en: "A hierarchy of any depth laid out as a tidy tree, with leaf contributions rolled up to their parents and carried in the thickness of each branch. The same nodes switch between structure and contribution"
status: published
# 索引カードの図版。pnpm layout:render が原本から描く。
still: ./still.png
category: decomposition
catalogOrder: 110
jobs:
  - explain-structure
  - prioritize-diagnose
useCases:
  - problem-solution
layoutKinds:
  - tree
tags: [logic-tree, driver-tree, decomposition, hierarchy, data-driven, interactive]
whenToUse:
  - ja: "課題・原因・施策をMECEな枝へ分解する場合"
    en: "Breaking a problem, its causes and its remedies into mutually exclusive branches"
  - ja: "利益・コスト・KPIを構成ドライバーへ展開する場合"
    en: "Expanding a profit, a cost or a KPI into the drivers behind it"
  - ja: "固定3階層ではなく、枝ごとに異なる深さを持つ構造を示す場合"
    en: "A structure whose branches differ in depth, rather than three fixed tiers"
  - ja: "構造だけでなく、どの末端要素の寄与が大きいかを説明したい場合"
    en: "Explaining not only the structure but which leaf contributes most"
  - ja: "枝ごとの集約値の大小と、最大寄与へ至る祖先経路を同じ図で追いたい場合"
    en: "Following both the size of each branch and the path to the largest contributor"
  - ja: "曲線・直線・直角のマインドマップ表現を閲覧者が切り替えて読みたい場合"
    en: "Letting the reader switch between curved, straight and right-angled branches"
avoidWhen:
  - ja: "固定3階層を重みつきの戦略帯として見せたい場合"
    en: "Presenting three fixed tiers as a weighted strategy band"
  - ja: "時間順の工程やイベントを説明したい場合"
    en: "Explaining steps or events in time order"
requiredInputs:
  - ja: "親子関係を持つ要素"
    en: "Elements with a parent-child relationship"
  - ja: "末端要素の寄与値"
    en: "A contribution value for each leaf"
  - ja: "分解の起点となる課題またはKPI"
    en: "The problem or KPI the decomposition starts from"
relatedLayouts: [pyramid, waterfall, critical-path-gantt]
dataSchema:
  title: "string — スライドタイトル。最大寄与の葉を結論として書く"
  subtitle: "string（任意）— 分析範囲、算定期間、出典など"
  unit: "string（任意）— 百万円、時間、件など"
  nodes: "{ id, parentId?, label, value?, note? }[] — 4〜12件。rootはparentIdなし、葉だけvalueを持ち、最大4階層"
sources: []
