Skip to contents

[Deprecated]

layout.mds() was renamed to layout_with_mds() to create a more consistent API.

Usage

layout.mds(graph, dist = NULL, dim = 2, options = arpack_defaults())

Arguments

graph

The input graph.

dist

The distance matrix for the multidimensional scaling. If NULL (the default), then the unweighted shortest path matrix is used.

dim

layout_with_mds() supports dimensions up to the number of nodes minus one, but only if the graph is connected; for unconnected graphs, the only possible value is 2. This is because merge_coords() only works in 2D.

options

[Deprecated] This argument is not supported from igraph version 1.6.0, as ARPACK is not used any more for solving the eigenproblem. Supplying it raises an error.

layout_mds()