replaces keyword diagram by graph
renamed constructor, too
Merge pull request #1333 from spechub/rename-diagram-to-graph

replaces keyword diagram by graph
percent encode unicode via utf8
use proper percent encoding