Draw.io Tools Exported Functions as Node Module decodeFromBase64String(base64String) -> String the decoded plain xml Decode the given base64-encoded string to plain xml. encodeToBase64String(xml) -> String the encoded and compressed xml Encode and compress the given raw xml to base64-encoded string. Tools Based on Self-hosted Web Pages Convert: Inflate/deflate, URL encode/decode and remove linefeeds from any text Base64: Base64 encode images Merge: Create vertical image stack Viewer: Create link for viewing diagrams CSV: Create link for viewing CSV Link: Create custom links