Explicitly pass graph id when adding a new graph