Refactoring graphs drawing.
Refactoring of XML and HTML.