Readability - use a type for mutable graph factory