Skip to contents

Trimming consists in removing "dead branch" of a graph, that is removing the edges which are not connected to both the source (i.e, equipment) or sink (i.e. retrieval site).

Usage

graph_trim(gr)

Arguments

gr

Graph constructed with graph_create().

Value

Graph trimmed

See also