Pass HMITree to SVG transform. It seems it could really help to reduce JS tree binding logic in the end.
#!/usr/bin/env python# -*- coding: utf-8 -*-# This file is part of Beremiz# Copyright (C) 2019: Edouard TISSERANT## See COPYING file for copyrights details.from __future__ import absolute_importfrom svghmi.svghmi import *