associates the property namevalue with item.
- Properties are used to store and manipulate name->value pairs for specific named items within an object such as Graph, MeshRegion and BoundaryMeshRegion.
- Property acts as an inert wrapper around items.
- Objects that support properties include Graph, MeshRegion and BoundaryMeshRegion. Item specifications for each type of object is given in their reference pages.
Examplesopen allclose all
Basic Uses (3)
Vertex Properties (3)
Use Table to set similar properties for many items:
Properties & Relations (6)
Use PropertyValue to extract values:
For undefined properties, the value $Failed is returned:
Use PropertyValue to set properties in a graph:
Use PropertyValue to unset properties in a graph:
Use PropertyList to test for the presence of a property:
Use SetProperty to set a property without changing the original:
Use RemoveProperty to remove a property without changing the original: