Skip to content

embbed svg export empty #1046

Description

@alanlivio

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

  1. create file below
  2. run mmdc to create svg file
  3. svg generated does not embbed the svg
flowchart LR
    User([UserX])
    subgraph AWS ["AWS Cloud"]
        direction LR
        Agent@{ img: "https://icon.icepanel.io/AWS/svg/Management-Governance/Chatbot.svg", label: "Bedrock Agent",  w: 100, h: 100}
        Lambda@{ img: "https://icon.icepanel.io/AWS/svg/Compute/Lambda.svg", label: "Lambda",  w: 100, h: 100  }
    end

    User -- "ask" --> Agent
    Agent -- "call" --> Lambda

    %% Styling
    classDef cloud fill:#f9f9f9,stroke:#232F3E,stroke-width:2px,stroke-dasharray: 5 5
    class AWS cloud
    
    classDef iconNode fill:#fff,stroke:#ccc,stroke-width:1px
    class Agent,Lambda iconNode
Image

Expected behavior
The output below was generated using https://mermaid.ai/live/edit

Image

Desktop (please complete the following information):

  • OS: windows
  • Browser chrome
  • Version: mmdc --version: 11.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions