pub const MAX_NODES: usize = 2000;
The most nodes a derivation emits. A graph past this is unreadable in a browser and unhelpful in a terminal; the derivation stops, says so in the metadata, and the page that shows it says so too.