From e14c8ef0a50bf094444c1f2ac47ff412e9292a09 Mon Sep 17 00:00:00 2001 From: Benjamin Davies Date: Thu, 21 Mar 2024 19:34:33 +1300 Subject: [PATCH] Re-add chronology diagram This was accidentally removed in a merge --- src/net/sourceforge/plantuml/core/DiagramType.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/net/sourceforge/plantuml/core/DiagramType.java b/src/net/sourceforge/plantuml/core/DiagramType.java index b01603de0..0105cbd83 100644 --- a/src/net/sourceforge/plantuml/core/DiagramType.java +++ b/src/net/sourceforge/plantuml/core/DiagramType.java @@ -5,12 +5,12 @@ * (C) Copyright 2009-2024, Arnaud Roques * * Project Info: https://plantuml.com - * + * * If you like this project or if you find it useful, you can support us at: - * + * * https://plantuml.com/patreon (only 1$ per month!) * https://plantuml.com/paypal - * + * * This file is part of PlantUML. * * PlantUML is free software; you can redistribute it and/or modify it @@ -127,8 +127,11 @@ public enum DiagramType { if (StartUtils.startsWithSymbolAnd("startfiles", s)) return FILES; + if (StartUtils.startsWithSymbolAnd("startchronology", s)) + return CHRONOLOGY; + if (StartUtils.startsWithSymbolAnd("startchen", s)) - return CHEN_EER; + return CHEN_EER; return UNKNOWN; }