fixed up svg plugin diagram