pub type SourceGraph = (Vec<(usize, usize)>, Vec<(usize, usize)>, Vec<usize>);
Type alias for source graph representation: (locations, pin_edges, source_pins).