Properties

Properties
is an option that allows specification of properties to objects and items of objects.

DetailsDetails

  • Properties->{item1->{prop1->val1,prop2->val2,},} indicates that has the property-value pairs , , etc.
  • Objects that support properties include Graph, MeshRegion, and BoundaryMeshRegion. Item specifications for each type of object is given in their reference pages.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

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]=
Introduced in 2010
(8.0)
| Updated in 2015
(10.2)
Translate this page: