profiler graph handles multiple roots