Legacy Documentation

Mathematica 9 (2012)

This is documentation for Mathematica 9, which was
based on an earlier version of Wolfram Language.
View current documentation (Version 15.0)

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]=
New in 6
ja zh