make_node_topology function

get node topology from edge topology (DEPRECATED)