Skip to content

Commit

Permalink
feat(ext-queue): adds support of ext queue to be displayed as ext con…
Browse files Browse the repository at this point in the history
…tainer.

Signed-off-by: Dmitry Kisler <admin@dkisler.com>
  • Loading branch information
kislerdm committed Jul 29, 2023
1 parent 4bad2a0 commit 073485c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## v0.0.5

### Added

- Fixed support of external queue after new [release](https://github.com/mermaid-js/mermaid/releases/tag/v10.3.0) of
mermaid

## v0.0.4

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"vitest": "^0.32.2"
},
"dependencies": {
"mermaid": "^10.2.4"
"mermaid": "^10.3.0"
}
}
3 changes: 1 addition & 2 deletions src/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,7 @@ class node {
}
}

// TODO: remove the condition when the https://github.com/mermaid-js/mermaid/issues/4576 is resolved
if (this.type == Type.Queue && externalPrefix != "") {
if (externalPrefix != "") {
return `Container${externalPrefix}(${this._id},"${this.name}","${tech}","${this.description}")`;
}

Expand Down

0 comments on commit 073485c

Please sign in to comment.