graph TD
%% External Flags (Inputs)
subgraph 外部條件
direction LR
F_Research[建立基礎科學研究]:::externalFlag
F_Monitoring[全國生態監測網絡建立]:::externalFlag
end
%% Events (Problems) and their associated crisis flags
subgraph 危機事件
direction TB
E_HabitatThreat[關鍵棲地未受保護]:::event --> F_Threat[關鍵棲地受脅]:::crisisFlag
E_GeneticLoss[本土物種遺傳多樣性流失風險]:::event --> F_GeneticWarning[遺傳多樣性流失警訊]:::crisisFlag
E_CorridorBroken[生態廊道中斷]:::event --> F_CorridorBrokenFlag[生態廊道中斷]:::crisisFlag
end
%% Strategies and their effects
subgraph 保育策略與成果
direction LR
F_Threat -- 需要 --> S_ProtectHabitat[劃設關鍵棲地保護區]:::strategy
S_ProtectHabitat -- 設定 --> F_Protected[關鍵棲地已劃設保護區]:::goalFlag
S_ProtectHabitat -- 清除 --> F_Threat
F_GeneticWarning & F_Research -- 需要 --> S_GeneticPlan[啟動本土物種遺傳多樣性保育計畫]:::strategy
S_GeneticPlan -- 設定 --> F_PlanStarted[遺傳多樣性保育計畫啟動]:::goalFlag
S_GeneticPlan -- 清除 --> F_GeneticWarning
F_CorridorBrokenFlag & F_Monitoring -- 需要 --> S_LinkCorridor[建立生態廊道連結破碎棲地]:::strategy
S_LinkCorridor -- 設定 --> F_CorridorLinked[生態廊道成功連結]:::goalFlag
S_LinkCorridor -- 清除 --> F_CorridorBrokenFlag
end
%% Event Resolution (Disappearance conditions)
subgraph 事件解決條件
direction TB
F_Protected -- 解決 --> E_HabitatThreat
F_PlanStarted -- 解決 --> E_GeneticLoss
F_CorridorLinked -- 解決 --> E_CorridorBroken
end
%% Styling
classDef event fill:#FFF0F0,stroke:#A52A2A,stroke-width:2px,color:#333,rx:5px,ry:5px
classDef strategy fill:#F0FFF0,stroke:#228B22,stroke-width:2px,color:#333,rx:5px,ry:5px
classDef flag fill:#F0FFFF,stroke:#1E90FF,stroke-width:2px,color:#333
classDef crisisFlag fill:#FFF8DC,stroke:#FF8C00,stroke-width:2px,color:#333
classDef goalFlag fill:#E6E6FA,stroke:#8A2BE2,stroke-width:2px,color:#333
classDef externalFlag fill:#F5F5F5,stroke:#696969,stroke-width:1px,color:#333,stroke-dasharray:5 5