removed redundant GraphBuilder class