1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-21 12:35:10 +00:00

Merge pull request #1732 from The-Lum/PatchBranch

Improve `Chen diagram` management & Rename `%splitstrregex` to `%splitstr_regex`
This commit is contained in:
PlantUML 2024-04-10 17:51:46 +02:00 committed by GitHub
commit 9f53546ff6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 2 deletions

View File

@ -60,7 +60,9 @@ PlantUML is a component that allows you to create various UML diagrams through s
- [MindMap diagram](http://plantuml.com/mindmap-diagram)
- [WBS (Work Breakdown Structure)](http://plantuml.com/wbs-diagram)
- [Mathematical Notations (AsciiMath, JLaTeXMath)](http://plantuml.com/ascii-math)
- [IE/ER (Information Engineering/Entity Relationship)](http://plantuml.com/ie-diagram)
- Entity Relationship (ER) diagram
- [Information Engineering (IE) diagram](http://plantuml.com/ie-diagram)
- [Entity Relationship (ER) diagram (Chen's notation)](http://alphadoc.plantuml.com/doc/markdown/en/er-diagram)
### 📣 Additional Features

View File

@ -122,6 +122,9 @@ public class EmbeddedDiagram extends AbstractTextBlock implements Line, Atom {
if (s.equals(EMBEDDED_START + "chronology"))
return "chronology";
if (s.equals(EMBEDDED_START + "chen"))
return "chen";
return null;
}

View File

@ -95,6 +95,7 @@ public class LanguageDescriptor {
type.add("json");
type.add("action");
type.add("process");
type.add("relationship");
keyword.add("@startwire");
keyword.add("@startbpm");
@ -124,6 +125,7 @@ public class LanguageDescriptor {
keyword.add("@startregex");
keyword.add("@startfiles");
keyword.add("@startchronology");
keyword.add("@startchen");
keyword.add("@endwire");
keyword.add("@endbpm");
keyword.add("@enduml");
@ -152,6 +154,7 @@ public class LanguageDescriptor {
keyword.add("@endregex");
keyword.add("@endfiles");
keyword.add("@endchronology");
keyword.add("@endchen");
keyword.add("as");
keyword.add("also");
keyword.add("autonumber");

View File

@ -49,7 +49,7 @@ import net.sourceforge.plantuml.tim.expression.TValue;
public class SplitStrRegex extends SimpleReturnFunction {
public TFunctionSignature getSignature() {
return new TFunctionSignature("%splitstrregex", 2);
return new TFunctionSignature("%splitstr_regex", 2);
}
@Override