Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
teyc committed Dec 20, 2024
1 parent a3fb490 commit 4cfb4c4
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
30 changes: 30 additions & 0 deletions docs/intro/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,36 @@ quadrantChart
Campaign F: [0.35, 0.78]
```

### [Use Case](../syntax/usecase.md)

```mermaid-example
usecase-beta
title Simple Use Case
systemboundary
title Acme System
(Start)
(Use) as (Use the application)
(Another use case)
end
User -> (Start)
User --> (Use)
(Use) --> (Another use case)
```

```mermaid
usecase-beta
title Simple Use Case
systemboundary
title Acme System
(Start)
(Use) as (Use the application)
(Another use case)
end
User -> (Start)
User --> (Use)
(Use) --> (Another use case)
```

### [XY Chart](../syntax/xyChart.md)

```mermaid-example
Expand Down
16 changes: 16 additions & 0 deletions packages/mermaid/src/docs/intro/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,22 @@ quadrantChart
Campaign F: [0.35, 0.78]
```

### [Use Case](../syntax/usecase.md)

```mermaid-example
usecase-beta
title Simple Use Case
systemboundary
title Acme System
(Start)
(Use) as (Use the application)
(Another use case)
end
User -> (Start)
User --> (Use)
(Use) --> (Another use case)
```

### [XY Chart](../syntax/xyChart.md)

```mermaid-example
Expand Down

0 comments on commit 4cfb4c4

Please sign in to comment.