templates updated
In order to work properly, it's necessary to put the version 3.0 of the
file vis.min.js in the folder output.
method toHtml adapted