hierarchygraphbuilder keeps graph once computed