clean up graph visualization by introducing HtmlFrom