This group lists macros for accessing data of the GlgGraphEdge object.
◆ GlgEdgeData
| #define GlgEdgeData |
( |
|
edge | ) |
|
Return data associated with the edge.
- Parameters
-
- Returns
- Data attached to the edge (void*).
◆ GlgEdgeEndNode
| #define GlgEdgeEndNode |
( |
|
edge | ) |
|
Return the edge's end node.
- Parameters
-
- Returns
- The edge's end node (GlgGraphNode).
◆ GlgEdgeExternal
| #define GlgEdgeExternal |
( |
|
node | ) |
|
Returns the edge's external flag.
- Parameters
-
- Returns
- True if the edge is external, False otherwise.
External edges are created by passing edge_type=-1 to the GlgGraphAddEdge function, see GlgGraphAddEdge.
◆ GlgEdgeGraphics
| #define GlgEdgeGraphics |
( |
|
edge | ) |
|
Returns the graphic object used to render the edge.
- Parameters
-
- Returns
- The graphic object used to render the edge (GlgObject).
◆ GlgEdgeStartNode
| #define GlgEdgeStartNode |
( |
|
edge | ) |
|
Return the edge's start node.
- Parameters
-
- Returns
- The edge's start node (GlgGraphNode).
◆ GlgEdgeType
| #define GlgEdgeType |
( |
|
edge | ) |
|
Returns edge type.
It is a palette index used for selecting different edge icons from the palette.
- Parameters
-
- Returns
- Edge type (int).