VertexSize

VertexSize

is an option and property for Graph and related functions that specifies the size used for vertices.

Details

  • The following settings can be used:
  • Automaticautomatically compute size
    Tiny,Small,Medium,Largeuse tiny, small, etc. sizes
    {"Nearest",s}fraction of minimum distance between vertex coordinates
    {"Scaled",s}fraction of overall diagonal for all vertex coordinates
    {sx,sy}specify size in the x and y direction
    {v1s1,v2s2,}use si for vertex vi
    {patt1s1,patt2s2,}use si for vertices matching the pattern patti
  • VertexSize->s for a number s is taken to be VertexSize->{"Nearest",s}.
  • A size {sx,sy} indicates a rectangle region with center {x,y}, lower-left corner {x-sx,y-sy}, and upper-right corner {x+sx,y+sy}.

Examples

open allclose all

Basic Examples  (2)

Set the size for all vertices:

Individual vertices:

Set the size to use a fraction of minimum distance between vertex coordinates:

A fraction of overall diagonal for all vertex coordinates:

Scope  (12)

Use symbolic vertex size:

Use a fraction of the minimum distance between vertex coordinates:

Use a fraction of overall diagonal for all vertex coordinates:

Specify size in both and directions:

VertexSize can be used for general graphs:

Matrix graphs:

Special graphs:

Random graphs:

Use VertexSize in an Annotation wrapper:

VertexSize works with patterns:

VertexSize can be combined with VertexShapeFunction:

VertexSize can be combined with VertexShape:

Wolfram Research (2010), VertexSize, Wolfram Language function, https://reference.wolfram.com/language/ref/VertexSize.html.

Text

Wolfram Research (2010), VertexSize, Wolfram Language function, https://reference.wolfram.com/language/ref/VertexSize.html.

CMS

Wolfram Language. 2010. "VertexSize." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/VertexSize.html.

APA

Wolfram Language. (2010). VertexSize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VertexSize.html

BibTeX

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

BibLaTeX

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