build first graph