public static function getDefaultConfig() { $config = new Config(); $config->max_graph_elements = 6; return $config; }