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:
-
Automatic draw self-loops for graphs given by explicit rules All always draw self-loops None never draw self-loops d draw 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 allBasic Examples (2)Summary of the most common use cases
Scope (3)Survey of the scope of standard use cases
Draw self-loops with a specified scaled diameter:
In[1]:=1

✖
https://wolfram.com/xid/0btmvm4nnfku-ypx2a3
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0btmvm4nnfku-vvm41v
Out[1]=1

Draw multiple self-loops for a graph specified by its adjacency matrix:
In[1]:=1

✖
https://wolfram.com/xid/0btmvm4nnfku-2ksapi
Out[1]=1

Wolfram Research (2007), SelfLoopStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/SelfLoopStyle.html.
✖
Wolfram Research (2007), SelfLoopStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/SelfLoopStyle.html.
Text
Wolfram Research (2007), SelfLoopStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/SelfLoopStyle.html.
✖
Wolfram Research (2007), SelfLoopStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/SelfLoopStyle.html.
CMS
Wolfram Language. 2007. "SelfLoopStyle." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SelfLoopStyle.html.
✖
Wolfram Language. 2007. "SelfLoopStyle." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SelfLoopStyle.html.
APA
Wolfram Language. (2007). SelfLoopStyle. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SelfLoopStyle.html
✖
Wolfram Language. (2007). SelfLoopStyle. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SelfLoopStyle.html
BibTeX
✖
@misc{reference.wolfram_2025_selfloopstyle, author="Wolfram Research", title="{SelfLoopStyle}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/SelfLoopStyle.html}", note=[Accessed: 28-March-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_selfloopstyle, organization={Wolfram Research}, title={SelfLoopStyle}, year={2007}, url={https://reference.wolfram.com/language/ref/SelfLoopStyle.html}, note=[Accessed: 28-March-2025
]}