Skip to content

Commit

Permalink
Sanitize SVGs (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucmartens authored Aug 29, 2018
1 parent 22e46ca commit 0929faa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ state "light" as light {

Which you can compile to the following image

![usage](examples/usage.svg)
![usage](examples/usage.svg?sanitize=true)

## Examples

Expand All @@ -68,25 +68,25 @@ Which you can compile to the following image
- [json](./examples/alarm.json)
- [puml](./examples/alarm.puml)

![alarm](./examples/alarm.svg)
![alarm](./examples/alarm.svg?sanitize=true)

### Parallel state

- [json](./examples/text-editor.json)
- [puml](./examples/text-editor.puml)

![text-editor](./examples/text-editor.svg)
![text-editor](./examples/text-editor.svg?sanitize=true)

## History state

- [json](./examples/payment.json)
- [puml](./examples/payment.puml)

![payment](./examples/payment.svg)
![payment](./examples/payment.svg?sanitize=true)

## Guards and actions

- [json](./examples/download.json)
- [puml](./examples/download.puml)

![download](./examples/download.svg)
![download](./examples/download.svg?sanitize=true)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xstate-plantuml",
"version": "0.3.0",
"version": "0.3.1",
"description": "Visualize a xstate or react-automata statechart as a plantuml state diagram",
"keywords": [
"xstate",
Expand Down

0 comments on commit 0929faa

Please sign in to comment.