DSD-DBS / py-capellambse

A Python 3 headless implementation of the Capella modeling tool.
https://dsd-dbs.github.io/py-capellambse/
Apache License 2.0
53 stars 11 forks source link

feat: Add support for embedded images #464

Open MoritzWeber0 opened 1 month ago

MoritzWeber0 commented 1 month ago

Currently, embedded images are not handled properly. An embedded image link contains the name of the Capella project as first element of the path in the src attribute, but the path doesn't exist on the file system.

To resolve the issue, we remove the project name as prefix.

Open issues:

Alternative solution could be to provide a description postprocessing helper function, which is used for the HTML rendering. This would solve the issue with broken image references in Jupyter.