Skip to content

Commit

Permalink
docs(architecture): use right icon for database in exemple
Browse files Browse the repository at this point in the history
  • Loading branch information
gbremond committed Oct 10, 2024
1 parent 2655be0 commit 2c31a59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/syntax/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@ service {service id}({icon name})[{title}] (in {parent id})?
Put together:

```
service database(db)[Database]
service database1(database)[My Database]
```

creates the service identified as `database`, using the icon `db`, with the label `Database`.
creates the service identified as `database1`, using the icon `database`, with the label `My Database`.

If the service belongs to a group, it can be placed inside it through the optional `in` keyword

```
service database(db)[Database] in private_api
service database1(database)[My Database] in private_api
```

### Edges
Expand Down
6 changes: 3 additions & 3 deletions packages/mermaid/src/docs/syntax/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ service {service id}({icon name})[{title}] (in {parent id})?
Put together:

```
service database(db)[Database]
service database1(database)[My Database]
```

creates the service identified as `database`, using the icon `db`, with the label `Database`.
creates the service identified as `database1`, using the icon `database`, with the label `My Database`.

If the service belongs to a group, it can be placed inside it through the optional `in` keyword

```
service database(db)[Database] in private_api
service database1(database)[My Database] in private_api
```

### Edges
Expand Down

0 comments on commit 2c31a59

Please sign in to comment.