Graph for DB