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

Examples

open allclose all

Basic Examples  (2)

Show self-loops:

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

Scope  (3)

Draw self-loops with a specified scaled diameter:

Draw multiple self-loops:

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

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.

CMS

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

BibTeX

@misc{reference.wolfram_2024_selfloopstyle, author="Wolfram Research", title="{SelfLoopStyle}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/SelfLoopStyle.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_selfloopstyle, organization={Wolfram Research}, title={SelfLoopStyle}, year={2007}, url={https://reference.wolfram.com/language/ref/SelfLoopStyle.html}, note=[Accessed: 22-November-2024 ]}