Add toGraph method
Merge branch 'master' of https://github.com/thilemann/WebIntelligence