graphl converted to work with vector