Graph for IOT db