adding transformed path to svg