Graph Drawing

 v. 2022.02 (Dogwood)

ogdf::internal::GraphElement Class Reference

The base class for objects used by (hyper)graphs. More...

#include <ogdf/basic/GraphList.h>

+ Inheritance diagram for ogdf::internal::GraphElement:

Protected Attributes

GraphElementm_next = nullptr
 The successor in the list. More...
GraphElementm_prev = nullptr
 The predecessor in the list. More...


class GraphListBase
class ogdf::Graph

Detailed Description

The base class for objects used by (hyper)graphs.

Such graph objects are maintained in list (see GraphList<T>), and GraphElement basically provides a next and previous pointer for these objects.

Definition at line 55 of file GraphList.h.

Friends And Related Function Documentation

◆ GraphListBase

friend class GraphListBase

Definition at line 58 of file GraphList.h.

◆ ogdf::Graph

friend class ogdf::Graph

Definition at line 57 of file GraphList.h.

Member Data Documentation

◆ m_next

GraphElement* ogdf::internal::GraphElement::m_next = nullptr

The successor in the list.

Definition at line 62 of file GraphList.h.

◆ m_prev

GraphElement* ogdf::internal::GraphElement::m_prev = nullptr

The predecessor in the list.

Definition at line 63 of file GraphList.h.

The documentation for this class was generated from the following file: