Components, nodes and node sorting for Edge genrationps
Components, nodes and node sorting for Edge generation