improve htmlGraph.py