This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Properties

Properties
is an option that allows specification of properties to objects and items of objects.
  • Properties indicates that has the property-value pairs , , etc.
  • The items available for Graph objects include vertices and edges.
Specify a vertex property:
Specify a property for the graph itself:
Specify a vertex property:
In[1]:=
Click for copyable input
Out[1]=
 
Specify a property for the graph itself:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Set properties for vertices:
And edges:
Standard vertex properties include VertexStyle:
Specify a custom property:
Standard edge properties include EdgeStyle:
Specify a custom property:
New in 8