Graph Properties

Graph properties, also known as attributes, are used to set and store values associated with vertices, edges, and the graph itself. Standard properties typically related to styles, labels, and weights extended the graph-modeling capabilities and are handled automatically by all graph-related functions. User-defined properties allow for many further extensions of graph modeling.

ReferenceReference

Getting and Setting Properties

Property property wrapper for vertices and edges

PropertyValue get and set vertex or edge property values

PropertyList  ▪  SetProperty  ▪  RemoveProperty  ▪  Properties

Standard Algorithmic Properties

EdgeWeight, VertexWeight edge and vertex weights

EdgeCapacity, VertexCapacity edge and vertex weights

WeightedAdjacencyMatrix  ▪  WeightedAdjacencyGraph  ▪  WeightedGraphQ

Standard Visual Properties

EdgeShapeFunction, EdgeStyle, EdgeLabels render, style, and label edges

VertexShapeFunction, VertexStyle, VertexLabels render, style, and label vertices

GraphLayout, GraphStyle, GraphHighlightStyle lay out, style, and highlight graphs

VertexShape  ▪  VertexCoordinates  ▪  VertexSize  ▪  GraphHighlight

User Properties

"myproperty" specify new properties for vertices, edges, and graphs

PropertyValue  ▪  PropertyList  ▪  Property