SVG diagram canvas implementation

SVG process diagram canvas implementation + import optimization