Started assigning edge indices and node input/output count