Skip to contents

Graph Components

Usage

subcomponent(graph, vid, mode = 1L)

subcomponents(graph, vids, mode = 1L)

Arguments

graph

igraph_ptr object.

vid

Vertices of interest.

mode

Edge type to count; {1: OUT, 2: IN, 3: ALL}.

vids

Vertices of interest.