From 031c0b7b21c91f15b3d5ee64467b3e6e13aa9023 Mon Sep 17 00:00:00 2001 From: Knut Sveidqvist Date: Thu, 10 Oct 2019 20:55:27 +0200 Subject: [PATCH] #945 Increasing size, handling forks and joins in multiple directions --- dist/index.html | 24 +++++++++++++++++++++++- src/diagrams/state/shapes.js | 4 +++- src/diagrams/state/stateDb.js | 1 + src/diagrams/state/stateRenderer.js | 21 +++++++++++++-------- 4 files changed, 40 insertions(+), 10 deletions(-) diff --git a/dist/index.html b/dist/index.html index f1ce7fa8e..73f6ff154 100644 --- a/dist/index.html +++ b/dist/index.html @@ -420,8 +420,30 @@ class Class10 {
stateDiagram - s1 + State1
+ +
+
+ stateDiagram + [*] --> First + state First { + [*] --> second + second --> [*] + } +
+
+ stateDiagram + State1: The state with a note + note right of State1 + Important information! You can write + notes. + end note + State1 --> State2 + note left of State2 : This is the note to the left. +
+ +