({{, (RefLink[SelfLoopStyle, paclet:ref/SelfLoopStyle]) 
is an option for (RefLink[GraphPlot, paclet:ref/GraphPlot]) and related functions that specifies how to draw self-loops that connect a vertex to itself.}})

OpenersNotesSection(Spacer1)Details

Typical settings for (RefLink[SelfLoopStyle, paclet:ref/SelfLoopStyle]) include:

With (RefLink[SelfLoopStyle, paclet:ref/SelfLoopStyle])->(RefLink[Automatic, paclet:ref/Automatic]), self-loops are not drawn for graphs specified by adjacency matrices.

(RefLink[SelfLoopStyle, paclet:ref/SelfLoopStyle])->1 makes self-loops have diameters roughly equal to the average edge length in (RefLink[GraphPlot, paclet:ref/GraphPlot]) graphs.

OpenersPrimaryExamplesSection(Spacer1)Examples  (5)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Show self-loops:

GraphPlot[{1->4,1->5,2->3,2->5,3->5,4->5,5->5}]

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

GraphPlot[SparseArray[{{1,4},{1,5},{4,5},{5,5},{2,3},{2,5},{3,5}}->1,{5,5}],SelfLoopStyle->All]

OpenersExampleSection1(Spacer1)Scope  (3)

Draw self-loops with a specified scaled diameter:

Table[GraphPlot[{1->4,1->5,2->3,2->5,3->5,4->5,5->5},SelfLoopStyle->s],{s,{0.1,0.25,0.5,1.}}]

Draw multiple self-loops:

GraphPlot[{1->4,1->5,2->3,2->5,3->5,4->5,5->5,5->5,5->5}]

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

GraphPlot[SparseArray[{{1,4}->1,{1,5}->1,{4,5}->1,{5,5}->4,{2,3}->1,{2,5}->1,{3,5}->1},{5,5}],SelfLoopStyle->All]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[MultiedgeStyle, paclet:ref/MultiedgeStyle])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Graph Drawing, paclet:tutorial/GraphDrawingOverview])}, {▪(RefLinkPlain[General Graph Drawing, paclet:tutorial/GraphDrawing])}, {▪(RefLinkPlain[Hierarchical Drawing of Directed Graphs, paclet:tutorial/LayeredGraphDrawing])}, {▪(RefLinkPlain[Tree Drawing, paclet:tutorial/TreeDrawing])}})}})