HPCC-9320 Preliminary minor refactoring for using global graph results

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>