Import Library from app.diagrams.net
om0wt opened this issue · comments
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?
I made a test:
- 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
- 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