VertexShapeFunction is an option and property for Graph and related functions that specifies a function to use to generate primitives for rendering each vertex.
The wrapper Property can be used when creating graphs in functions such as Graph etc.
Use to get a list of all named vertex functions.
VertexShapeFunction->func specifies that each vertex should be rendered with the primitives provided by , where is the center, v the vertex name, and the width and the height.
The vertex function func should render the vertex primitives in the bounding box automatically computed by layout algorithms.
(4)
Draw vertices using a predefined vertex function:
Specify a vertex function for an individual vertex:
Use a Property wrapper to specify individual vertex functions:
Draw vertices by running a program:
Draw vertices using a predefined vertex function:
Out[1]=
Specify a vertex function for an individual vertex:
Out[1]=
Use a Property wrapper to specify individual vertex functions: