Tulip
5.4.0
Large graphs analysis and drawing
|
#include <Node.h>
Public Member Functions | |
node () | |
node (unsigned int j) | |
bool | isValid () const |
operator unsigned int () const | |
bool | operator!= (const node n) const |
bool | operator== (const node n) const |
Public Attributes | |
unsigned int | id |
The node struct represents a node in a Graph object.
This structure only contains an identifier, and a function to check if the node is valid. A node is considered invalid when its id has the UINT_MAX value.
Most operations performed on a node (getting out edges etc) are available into the tlp::Graph object.
|
inlineexplicit |
node Create a node of given identifier. It is your responsibility to make sure a node of this ID exists when you create the node. If you want to make sure this node exists, use Graph::isElement(), as isValid() will only tell is the node was correctly initialized.
j | the identifier this node will use. |
|
inline |
|
inline |
|
inline |
|
inline |