Wolfram Language

New Graph Layout

Version 12 expands on the already extensive collections of graph layouts with a new graph embedding "GravityEmbedding" that minimize the energy with vertices as mass points and edges as springs.

show complete Wolfram Language input

A grid graph with its gravity embedding.

A large graph.

An empirical graph with its gravity embedding.

A pseudo random graph.

Related Examples

de es fr ja ko pt-br zh