SelfLoopStyle

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

DetailsDetails

  • 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.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Show self-loops:

In[1]:=
Click for copyable input
Out[1]=

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

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2007
(6.0)