layout.mds() was renamed to layout_with_mds() to create a more
consistent API.
layout.mds(graph, dist = NULL, dim = 2, options = arpack_defaults())The input graph.
The distance matrix for the multidimensional scaling. If
NULL (the default), then the unweighted shortest path matrix is used.
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.
This is currently ignored, as ARPACK is not used any more for solving the eigenproblem