SelfLoopStyle

SelfLoopStyle

is an option for GraphPlot and related functions that specifies how to draw self-loops that connect a vertex to itself.

Details

  • Typical settings for SelfLoopStyle include:
  • Automaticdraw self-loops for graphs given by explicit rules
    Allalways draw self-loops
    Nonenever draw self-loops
    ddraw self-loops as loops of radius d
  • With SelfLoopStyle->Automatic, self-loops are not drawn for graphs specified by adjacency matrices.
  • SelfLoopStyle->1 makes self-loops have diameters roughly equal to the average edge length in GraphPlot graphs.

Examples

open allclose all

Basic Examples  (2)

Show self-loops:

Show self-loops for a graph specified by its adjacency matrix:

Scope  (3)

Draw self-loops with a specified scaled diameter:

Draw multiple self-loops:

Draw multiple self-loops for a graph specified by its adjacency matrix:

Introduced in 2007
 (6.0)