mode-specific edge labels, edge label functions
Ford calculates residual graph correctly