Bugfix/svg graphic

Please review @triblondon and merge is happy