Skip to content

Commit

Permalink
moved libs into src folder
Browse files Browse the repository at this point in the history
  • Loading branch information
uxkjaer committed Nov 14, 2023
1 parent 18d4fe4 commit 065f580
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Custom library for [Draw.io](https://app.diagrams.net/), based on [SAP Business
and/or an SAP affiliate company. The SAP Terms of Use found in document [Terms Of Use for the SAP Business Technology Platform Solution Diagrams, Design Elements & Icons](https://d.dam.sap.com/a/nXJJmw/SAP%20Cloud%20Platform%20Diagrams%20and%20Icons%20Terms%20of%20Use.pdf) govern your use of these SAP materials (as defined in the Terms of Use), and related Content and web pages.

## Usage online
The easiest way to consume one of these libraries, is to load them directly via the url parameter ['libs'](https://desk.draw.io/support/solutions/articles/16000042546-supported-url-parameters). List the library urls as a semi-colon separated string. (example: https://app.diagrams.net/?splash=0&clibs=Uhttps://raw.githubusercontent.com/rsletta/sap_btp_icons_drawio_lib/main/libs/SAP_BTP_Service_Icons_Circles.xml;Uhttps://raw.githubusercontent.com/rsletta/sap_btp_icons_drawio_lib/main/libs/SAP_BTP_Service_Icons.xml;Uhttps://raw.githubusercontent.com/rsletta/sap_btp_icons_drawio_lib/main/libs/SAP_BTP_Service_Icons_latest.xml)
The easiest way to consume one of these libraries, is to load them directly via the url parameter ['libs'](https://desk.draw.io/support/solutions/articles/16000042546-supported-url-parameters). List the library urls as a semi-colon separated string. (example: https://app.diagrams.net/?splash=0&clibs=Uhttps://raw.githubusercontent.com/rsletta/sap_btp_icons_drawio_lib/main/src/libs/SAP_BTP_Service_Icons_Circles.xml;Uhttps://raw.githubusercontent.com/rsletta/sap_btp_icons_drawio_lib/main/src/libs/SAP_BTP_Service_Icons.xml;Uhttps://raw.githubusercontent.com/rsletta/sap_btp_icons_drawio_lib/main/src/libs/SAP_BTP_Service_Icons_latest.xml)

## The other way
### ### Select "Open Library/Github" from "File" menu
Expand All @@ -36,4 +36,4 @@ The easiest way to consume one of these libraries, is to load them directly via
### Use assets with drag and drop 😊
![Loaded assets](img/loaded.png)

https://app.diagrams.net/?splash=0&clibs=Uhttps://raw.githubusercontent.com/mauriciolauffer/sap_btp_icons_drawio_lib/main/libs/SAP_BTP_Service_Icons_latest.xml
https://app.diagrams.net/?splash=0&clibs=Uhttps://raw.githubusercontent.com/rsletta/sap_btp_icons_drawio_lib/main/src/libs/SAP_BTP_Service_Icons_latest.xml
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function main() {
return shape;
});
const payload = `<mxlibrary>\n${JSON.stringify(mappedData)}\n</mxlibrary>`;
await writeFile('./libs/SAP_BTP_Service_Icons_latest.xml', payload);
await writeFile('./src/libs/SAP_BTP_Service_Icons_latest.xml', payload);

} catch (err) {
console.error(err);
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 065f580

Please sign in to comment.