aboutsummaryrefslogtreecommitdiff
path: root/src/stages.rs
diff options
context:
space:
mode:
authorRubén Beltrán del Río <jj@r.bdr.sh>2026-01-16 00:08:41 +0100
committerRubén Beltrán del Río <jj@r.bdr.sh>2026-01-16 00:12:53 +0100
commit04b1e6080d99601b8d6343be3140f545cd8f9eae (patch)
tree2180b7d50f2442e5d18a99a87e56def29b02f68e /src/stages.rs
parentab6492a9f9b8a65121fcf10ff5a44660bd063af1 (diff)
Separate concerns
Diffstat (limited to 'src/stages.rs')
-rw-r--r--src/stages.rs48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/stages.rs b/src/stages.rs
index 0ff0adf..278cd92 100644
--- a/src/stages.rs
+++ b/src/stages.rs
@@ -1,26 +1,26 @@
use wmap_renderer::StageType;
-pub fn all_stages() -> &'static [StageType] {
- &[
- StageType::Activities,
- StageType::Practice,
- StageType::Data,
- StageType::Knowledge,
- StageType::Ubiquity,
- StageType::Certainty,
- StageType::PublicationTypes,
- StageType::Market,
- StageType::KnowledgeManagement,
- StageType::MarketPerception,
- StageType::UserPerception,
- StageType::PerceptionInIndustry,
- StageType::FocusOfValue,
- StageType::Understanding,
- StageType::Comparison,
- StageType::Failure,
- StageType::MarketAction,
- StageType::Efficiency,
- StageType::DecisionDrivers,
- StageType::Behavior,
- ]
-}
+/// All available stage types for rendering Wardley Maps.
+/// Order determines dropdown menu order.
+pub const ALL_STAGE_TYPES: &[StageType] = &[
+ StageType::Activities,
+ StageType::Practice,
+ StageType::Data,
+ StageType::Knowledge,
+ StageType::Ubiquity,
+ StageType::Certainty,
+ StageType::PublicationTypes,
+ StageType::Market,
+ StageType::KnowledgeManagement,
+ StageType::MarketPerception,
+ StageType::UserPerception,
+ StageType::PerceptionInIndustry,
+ StageType::FocusOfValue,
+ StageType::Understanding,
+ StageType::Comparison,
+ StageType::Failure,
+ StageType::MarketAction,
+ StageType::Efficiency,
+ StageType::DecisionDrivers,
+ StageType::Behavior,
+];