output class name of object to html class, and a the name of the graphviz entity to a data attribute in html