VertexShapeFunction

Source Notebook

The collection of named vertex shape functions in the Wolfram Language

Details

The data is imported from and formatted for the Wolfram Language.
The default content is a list of all built-in collections.

(30 elements)

Examples

Basic Examples (2) 

In[1]:=
ResourceData[\!\(\*
TagBox["\"\<VertexShapeFunction\>\"",
#& ,
BoxID -> "ResourceTag-VertexShapeFunction-Input",
AutoDelete->True]\)]
Out[1]=

Draw vertices using a diamond shape function:

In[2]:=
CompleteGraph[3, VertexShapeFunction -> ResourceData[\!\(\*
TagBox["\"\<VertexShapeFunction\>\"",
#& ,
BoxID -> "ResourceTag-VertexShapeFunction-Input",
AutoDelete->True]\)][[8]], VertexSize -> Medium]
Out[2]=

Scope & Additional Elements (5) 


List of supported collections:

In[3]:=
ResourceData[\!\(\*
TagBox["\"\<VertexShapeFunction\>\"",
#& ,
BoxID -> "ResourceTag-VertexShapeFunction-Input",
AutoDelete->True]\), "Collection"]
Out[3]=

Use built-in settings for in the "Basic" collection:

In[4]:=
ResourceData[\!\(\*
TagBox["\"\<VertexShapeFunction\>\"",
#& ,
BoxID -> "ResourceTag-VertexShapeFunction-Input",
AutoDelete->True]\), "Basic"]
Out[4]=
In[5]:=
Row[Table[
  Graph[{1 \[UndirectedEdge] 2, 2 \[UndirectedEdge] 3, 3 \[UndirectedEdge] 1}, VertexShapeFunction -> vf, VertexSize -> 0.2], {vf, ResourceData[\!\(\*
TagBox["\"\<VertexShapeFunction\>\"",
#& ,
BoxID -> "ResourceTag-VertexShapeFunction-Input",
AutoDelete->True]\), "Basic"][[;; 4]]}]]
Out[5]=

Use built-in settings for in the "Rounded" collection:

In[6]:=
ResourceData[\!\(\*
TagBox["\"\<VertexShapeFunction\>\"",
#& ,
BoxID -> "ResourceTag-VertexShapeFunction-Input",
AutoDelete->True]\), "Rounded"]
Out[6]=
In[7]:=
Row[Table[
  Graph[{1 \[UndirectedEdge] 2, 2 \[UndirectedEdge] 3, 3 \[UndirectedEdge] 1}, VertexShapeFunction -> vf, VertexSize -> 0.2], {vf, ResourceData[\!\(\*
TagBox["\"\<VertexShapeFunction\>\"",
#& ,
BoxID -> "ResourceTag-VertexShapeFunction-Input",
AutoDelete->True]\), "Rounded"][[;; 4]]}]]
Out[7]=

Use built-in settings for in the "Concave" collection:

In[8]:=
ResourceData[\!\(\*
TagBox["\"\<VertexShapeFunction\>\"",
#& ,
BoxID -> "ResourceTag-VertexShapeFunction-Input",
AutoDelete->True]\), "Concave"]
Out[8]=
In[9]:=
Row[Table[
  Graph[{1 \[UndirectedEdge] 2, 2 \[UndirectedEdge] 3, 3 \[UndirectedEdge] 1}, VertexShapeFunction -> vf, VertexSize -> 0.2], {vf, ResourceData[\!\(\*
TagBox["\"\<VertexShapeFunction\>\"",
#& ,
BoxID -> "ResourceTag-VertexShapeFunction-Input",
AutoDelete->True]\), "Concave"][[;; 4]]}]]
Out[9]=

Wolfram Research, "VertexShapeFunction" from the Wolfram Data Repository (2022)  

Data Resource History

Source Metadata

Publisher Information