dyng
DynamicGraphLayout
|
#include <node.h>
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 coords & | pos () const |
Returns current coordinates. | |
coords & | pos () |
Returns current coordinates. | |
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)
|
inline |
Returns current alpha value.
This is used to create an animation of the node appearing of disappearing. Automatically set by interpolator.