From 04b1e6080d99601b8d6343be3140f545cd8f9eae Mon Sep 17 00:00:00 2001 From: Rubén Beltrán del Río Date: Fri, 16 Jan 2026 00:08:41 +0100 Subject: Separate concerns --- src/stages.rs | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'src/stages.rs') 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, +]; -- cgit