Skip to contents

Ids are assigned sequentially by graph_add() and never reordered, so ascending id order is also insertion order.

Usage

graph_ids(graph)

Arguments

graph

A Graph.

Value

Integer vector of node ids, sorted ascending.