-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump @zenuml/core and update render options in mermaid-zenuml (#5257)
* Update dependencies and render options in mermaid-zenuml * update snpashots * Revert "update snpashots" This reverts commit e520227.
- Loading branch information
Showing
3 changed files
with
111 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,7 +56,7 @@ export const draw = async function (text: string, id: string) { | |
// @ts-expect-error @zenuml/[email protected] exports the wrong type for ZenUml | ||
const zenuml = new ZenUml(app); | ||
// default is a theme name. More themes to be added and will be configurable in the future | ||
await zenuml.render(text, 'theme-mermaid'); | ||
await zenuml.render(text, { theme: 'default', mode: 'static' }); | ||
|
||
const { width, height } = window.getComputedStyle(container); | ||
log.debug('zenuml diagram size', width, height); | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.