Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Library from app.diagrams.net #424

Open
om0wt opened this issue Apr 4, 2024 · 0 comments
Open

Import Library from app.diagrams.net #424

om0wt opened this issue Apr 4, 2024 · 0 comments

Comments

@om0wt
Copy link

om0wt commented Apr 4, 2024

I have created a new library in app.diagrams.net and exported it as .xml. All library items are in this xml. Is it possible to import such a library among existing shapes?

image

I made a test:

  1. I created a new directory netapp in .vscode/extensions/hediet.vscode-drawio-1.6.6/drawio/src/main/webapp/templates and copied exported library (from app.diagrams.net) netapp.xml into it:
➜  templates find netapp
netapp
netapp/netapp.xml
➜  templates pwd
/Users/<user>/.vscode/extensions/hediet.vscode-drawio-1.6.6/drawio/src/main/webapp/templates
➜  templates
  1. I added a new entry into index.xml:
➜  templates grep netapp index.xml
<template url="network/netapp.xml" name="NetApp" libs="general;netapp" tags="NetApp"/>

Restarted VSC, but the library doesn't appear among other Shapes...

What do I need to do in order to import it correctly?

Thanks.

Pavol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
Development

No branches or pull requests

1 participant