Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Graphs & Networks > Graph Programming > Properties >
Mathematica > Visualization and Graphics > Graphs & Networks > Graph Programming > Properties >
Mathematica > Mathematics and Algorithms > Graphs & Networks > Graph Representation and Properties > Graph Programming > Properties >

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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF