are.connected: Are two vertices adjacent?

View source: R/structure.info.R

are.connectedR Documentation

Are two vertices adjacent?

Description

[Deprecated]

are.connected() was renamed to are_adjacent() to create a more consistent API.

Usage

are.connected(graph, v1, v2)

Arguments

graph

The graph.

v1

The first vertex, tail in directed graphs.

v2

The second vertex, head in directed graphs.

Related documentation in the C library

are_adjacent(), vcount()


igraph documentation built on April 21, 2026, 5:06 p.m.