This sample shows how to setup an
elementFinished option for Diagram.makeSVG that will replace the
href with a Base64 URI instead of pointing to the Picture.source.
This can be useful to reduce external dependencies within your exported SVG.
This method will only work if you assets are at the same origin, or otherwise not blocked by a cross-origin request policy.