gino
2020-02-24 13:49:18 +09:00
parent 54f55cc021
commit f8481f8d4c

View File

@@ -77,7 +77,6 @@ Type | Description
-x | Solid line with a cross at the end (async) -x | Solid line with a cross at the end (async)
--x | Dotted line with a cross at the end (async) --x | Dotted line with a cross at the end (async)
## Activations ## Activations
It is possible to activate and deactivate an actor. (de)activation can be dedicated declarations: It is possible to activate and deactivate an actor. (de)activation can be dedicated declarations:
@@ -127,7 +126,6 @@ sequenceDiagram
John-->>-Alice: I feel great! John-->>-Alice: I feel great!
``` ```
## Notes ## Notes
It is possible to add notes to a sequence diagram. This is done by the notation It is possible to add notes to a sequence diagram. This is done by the notation
@@ -159,7 +157,6 @@ sequenceDiagram
Note over Alice,John: A typical interaction Note over Alice,John: A typical interaction
``` ```
## Loops ## Loops
It is possible to express loops in a sequence diagram. This is done by the notation It is possible to express loops in a sequence diagram. This is done by the notation
@@ -187,7 +184,6 @@ sequenceDiagram
end end
``` ```
## Alt ## Alt
It is possible to express alternative paths in a sequence diagram. This is done by the notation It is possible to express alternative paths in a sequence diagram. This is done by the notation
@@ -280,8 +276,8 @@ sequenceDiagram
end end
``` ```
## Background Highlighting ## Background Highlighting
It is possible to highlight flows by providing colored background rects. This is done by the notation It is possible to highlight flows by providing colored background rects. This is done by the notation
The colors are defined using rgb and rgba syntax. The colors are defined using rgb and rgba syntax.
@@ -386,10 +382,8 @@ loopLine | Defines styles for the lines in the loop box.
note | Styles for the note box. note | Styles for the note box.
noteText | Styles for the text on in the note boxes. noteText | Styles for the text on in the note boxes.
### Sample stylesheet ### Sample stylesheet
```css ```css
body { body {
background: white; background: white;
@@ -472,7 +466,6 @@ text.actor {
} }
``` ```
## Configuration ## Configuration
Is it possible to adjust the margins for rendering the sequence diagram. Is it possible to adjust the margins for rendering the sequence diagram.