refactoring GraphConfig

(Thomas)