Fix incomplete patch for graph node modifications