Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get information about named functions used in VertexShapeFunction and EdgeShapeFunction
ResourceFunction["GraphElementData"]["shape"] represents a function that generates a shape for vertices or edges when applied to VertexShapeFunction or EdgeShapeFunction in a graph. | |
ResourceFunction["GraphElementData"]["shape","property"] gives the specified property for the named function "shape". | |
ResourceFunction["GraphElementData"][{"shape",opts},"property"] gives the specified property for the named function "shape" with the options opts. |
Preview the "HalfFilledArrow" edge shape function:
In[1]:= | ![]() |
Out[1]= | ![]() |
List all supported options of the "HalfFilledArrow" edge shape function:
In[2]:= | ![]() |
Out[2]= | ![]() |
Draw edges using the "HalfFilledArrow" edge shape function:
In[3]:= | ![]() |
Out[3]= | ![]() |
Preview the "Square" vertex shape function:
In[4]:= | ![]() |
Out[4]= | ![]() |
Draw vertices using the "Square" vertex shape function:
In[5]:= | ![]() |
Out[5]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License