GRSIMPLIFYBRANCHES_OLD Replace branches of a graph by single edges. [NODES2 EDGES2] = grSimplifyBranches(NODES, EDGES) Replaces each branch (composed of a series of edges connected only by 2-degree nodes) by a single edge, whose extremities are nodes with degree >= 3.
Package: matgeom