DSD-DBS / capellambse-context-diagrams

Extension for python-capella-mbse that adds automatically generated context diagrams for arbitrary model elements.
https://dsd-dbs.github.io/capellambse-context-diagrams/
Other
13 stars 0 forks source link

Add a helper to install elk.js ahead of time #97

Closed Wuestengecko closed 4 months ago

Wuestengecko commented 4 months ago

In one of our container builds, we want to explicitly preinstall the needed Node modules at build time. This significantly improves the render time of the first context diagram after container startup, as otherwise the modules would have to be installed during startup / first render.

This PR adds a small public helper function, which simply forwards to the private module that actually does the work.