Properties

Properties

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

Details

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

Examples

open allclose all

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]=

Scope  (5)

See Also

PropertyValue  SetProperty  PropertyList  RemoveProperty  Property  Graph  MeshRegion  BoundaryMeshRegion  CurrentValue  Options

Introduced in 2010
(8.0)
| Updated in 2015
(10.2)