reverse_edges: Reverse the edges of a directed graph

Description Usage Arguments Value

Description

Return a new directed graph instance with each edge oriented in the opposite direction relative to the corresponding edge in the input graph. Will not preserve graph, vertex, and edge attributes.

Usage

1

Arguments

g

a directed igraph object

Value

a new igraph object, the old graph with edges reverse.


robertness/lucy documentation built on May 27, 2019, 10:32 a.m.