Mathematica >

SelfLoopStyle

SelfLoopStyle
is an option for GraphPlot and related functions which specifies how to draw self-loops that connect a vertex to itself.
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.
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
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team