"DiscreteSpiralEmbedding" (Graph Layout Method)

Details & Suboptions

  • The discrete spiral embedding is a graph-drawing technique to position vertices of a graph on a discrete spiral.
  • The discrete spiral embedding is typically used to lay out path graphs.
  • Possible settings to control the layout include:
  • "OptimalOrder" Trueoptimal ordering of vertices to minimize edge crossings

Examples

open allclose all

Basic Examples  (2)

Place vertices on a discrete spiral:

"DiscreteSpiralEmbedding" works best for path graphs:

Options  (1)

"OptimalOrder"  (1)

With the setting "OptimalOrder"True, vertices are reordered so that they lay nicely on a discrete spiral: