Open schurlinga opened 1 year ago
Hi,
i would like to use the customLibraries setting with json or xml, unfortunately i cannot find a way how to use it correctly.
this is what i have in the vscode settings:
"hediet.vscode-drawio.customLibraries": [ { "entryId": "Asfinag", "libName": "Asfinag" } ],
as soon as i add the xml or json property, the extension doesn't load anymore.
this is the json-configuration i use for drawio Web and Desktop:
{ "libraries": [ { "title": { "main": "OurLibs" }, "entries": [ { "id": "our-graphics", "title": { "main": "Graphics", "de": "Grafiken" }, "desc": { "main": "Collection of Graphics for us", "de": "Sammlung von Grafiken für uns" }, "libs": [ { "title": { "main": "Our Primitives", "de": "Unsere Primitives" }, "data": [ { "xml": "jVJNb4MwDP01uUOYul4HHT3t1Ek7Z8QlVh2C0rTQ/fo5JLTaodIOSH7v+Rl/RFSNnfdejebDaSBRvYuq8c6FFNm5ASIhC9Si2gkpC/6EbJ+o5aIWo/IwhP8YZDJcFV0gMUJuiK214VqbPkafGAhWmks9lGQ+hxtlc4B58QbLk+xKDs/BuxM0jpxnZnADZ9aKsB8YEhxj+hV8wE7RW6Ytah0r1pPBAIdRdbH8xEtizrvLoCG2X8TyRmk3ZdA5i90qnCB0JoOjG0KrLNKNCR4HifBiufUv+M7yAX/iT8ptxmvHQlaylG31eh83dgvz030vVF72HpyF4G+cMqEOJmVs00kKA9ib7HrJnDon3N+dj+NxkO+3wsc7WbQ/z+gX", "w": 80, "h": 40, "aspect": "fixed", "title": "Title" }, { "xml": "jVLBbsMgDP0a7glM2q5Luva0UyvtzIIXrEKIiNMk+/o5gazaodIOSH7v2fhhI1Tt51PUvX0PBpxQb0LVMQRKkZ9rcE7IAo1QByFlwUfI4wO13NSi1xE6+k+BTAU37UZIzAVmSuRAi8skraSqLHl2eCg5HCiGK9TBhchMFzrOrLTDtmPYcHdgvrpBJGy0e82CR2PWO6vJIsG5183aYOLnMxfD2BlYjRVrA6tNmDJogsdmF65Ajc3gK3R01B7dwsQFCZ3D0bP5D/jM8hm/1yblS8a7ZyGVLOVRPTOfp8BuYX44yY3KYzxB8EBx4ZQJDdmU8ZSGXVjA1uaqvIBCDwm3v5X3tXCQN7PD+w/YtD8f5Ac=", "w": 40, "h": 20, "aspect": "fixed", "title": "Text" } ] } ] } ] } ] }
i am wondering how this has to be formatted/transformed to work in the customlibraries json property.
Would be great if anyone could help with this 😃
Hi,
i would like to use the customLibraries setting with json or xml, unfortunately i cannot find a way how to use it correctly.
this is what i have in the vscode settings:
as soon as i add the xml or json property, the extension doesn't load anymore.
this is the json-configuration i use for drawio Web and Desktop:
i am wondering how this has to be formatted/transformed to work in the customlibraries json property.
Would be great if anyone could help with this 😃