![]() |
• Utility Library | ||||||||||||||||||||||||||
|
API Links
Developer Links
|
class GraphEdgeDefined in:
The C4Graph.hGraphEdge class is the base class for edges connecting nodes in a directed graph.
Definition
Member Functions
Template Parameters
Constructor
Parameters
Description
The GraphEdge class should be declared as a base class for objects that represent edges in a directed graph. The edgeType template parameter should match the class type of such objects. The nodeType template parameter should match the type of the class representing the nodes in the graph.The start and finish parameters specify the graph nodes at the start and finish of the directed edge. These may not be nullptr. When a GraphEdge instance is constructed, the edge automatically becomes an outgoing edge for the node specified by the start parameter and an incoming edge for the node specified by the finish parameter.
Base Classes
See Also
|