mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-12 01:02:37 +02:00
Merge branch 'feature/svg' into 'mgx_ops'
feat: png -> svg See merge request pub/MetaGPT!352
This commit is contained in:
commit
8d12c35d11
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ async def mermaid_to_file(
|
|||
Returns:
|
||||
int: 0 if the conversion is successful, -1 if the conversion fails.
|
||||
"""
|
||||
suffixes = suffixes or ["png"]
|
||||
suffixes = suffixes or ["svg"]
|
||||
# Write the Mermaid code to a temporary file
|
||||
config = config if config else Config.default()
|
||||
dir_name = os.path.dirname(output_file_without_suffix)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue