mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-05 21:17:52 +00:00
Added <<start>> Stereotype
Currently the state diagram only supports <<end>> as a stereotype for creating named end points. However, the same functionality is missing for starting points. This commit adds this ability.
This commit is contained in:
parent
f0a3fbf548
commit
b84c1670d8
@ -171,6 +171,9 @@ public class CommandCreateState extends SingleLineCommand2<StateDiagram> {
|
|||||||
if ("<<join>>".equalsIgnoreCase(stereotype)) {
|
if ("<<join>>".equalsIgnoreCase(stereotype)) {
|
||||||
return LeafType.STATE_FORK_JOIN;
|
return LeafType.STATE_FORK_JOIN;
|
||||||
}
|
}
|
||||||
|
if ("<<start>>".equalsIgnoreCase(stereotype)) {
|
||||||
|
return LeafType.CIRCLE_START;
|
||||||
|
}
|
||||||
if ("<<end>>".equalsIgnoreCase(stereotype)) {
|
if ("<<end>>".equalsIgnoreCase(stereotype)) {
|
||||||
return LeafType.CIRCLE_END;
|
return LeafType.CIRCLE_END;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user