Tiny bit of helper code to build a simple service / device usage graph