add graph build