dyng
DynamicGraphLayout
Public Member Functions | List of all members
dyng::node Class Reference

#include <node.h>

Inheritance diagram for dyng::node:
Inheritance graph
[legend]

Public Member Functions

 node (node_id id)
 Sets the id of the node.
 
node_id id () const
 Returns the id.
 
bool is_new () const
 Returns if the node is new in its current state.
 
void is_new (bool value)
 Sets if the node is new in its current state.
 
bool is_old () const
 Returns if the node is going to be deleted in the next state.
 
void is_old (bool value)
 Sets if the node is going to be deleted in the next state.
 
float alpha () const
 Returns current alpha value. More...
 
void alpha (float value)
 Sets the current alpha value.
 
const coordspos () const
 Returns current coordinates.
 
coordspos ()
 Returns current coordinates.
 

Detailed Description

Class representing a node in a specific graph state. It holds an id and information about it's current state and coordinates. Used to animate transitions.

(Described in section 6.1.5)

See also
edge

Member Function Documentation

◆ alpha()

float dyng::node::alpha ( ) const
inline

Returns current alpha value.

This is used to create an animation of the node appearing of disappearing. Automatically set by interpolator.

See also
dyng::interpolator

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