|  | dyng
    DynamicGraphLayout | 
#include <edge.h>
| Public Member Functions | |
| basic_edge (edge_id id, node_id one, node_id two) | |
| Sets the id of the edge and ids of two connected nodes. | |
| node_id | one_id () const | 
| Returns the id of one connected node. | |
| node_id | two_id () const | 
| Returns the id of the other connected node. | |
| edge_id | id () const | 
| bool | is_new () const | 
| Returns if the edge 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 edge 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. | |
| ConnectedNode & | node_one () | 
| Returns a reference to one connected node. | |
| const ConnectedNode & | node_one () const | 
| Returns a const reference to one connected node. | |
| ConnectedNode & | node_two () | 
| Returns a reference to the other connected node. | |
| const ConnectedNode & | node_two () const | 
| Returns a const reference to the other connected node. | |
| void | set_ptr (detail::container< ConnectedNode, node_id > *cont) | 
| Sets the pointer to the object detail::container.  More... | |
A base class that edge and edge_partition are derived from.
| ConnectedNode | Type of node this edge connects to. | 
| 
 | inline | 
Returns current alpha value.
This is used to create an animation of the edge appearing of disappearing. Automatically set by interpolator.
| 
 | inline | 
Sets the pointer to the object detail::container.
The internal pointer to the container allows the methods one and two to exist.
Set internally by graph.
 1.8.17
 1.8.17