Abstract Node class that represents a basic building block in a graph-based system.
Definition node.hpp:34
Provides a resolved and enriched view of a graph link.
Definition link.hpp:84
std::string data_type_from
Data type of the source port.
Definition link.hpp:91
std::string data_type_to
Data type of the destination port.
Definition link.hpp:92
std::string to_string(int indent=0) const
Export to a string the details of the Link.
int port_from
Port number on the source node.
Definition link.hpp:87
std::string to
Identifier of the destination node.
Definition link.hpp:86
int port_to
Port number on the destination node.
Definition link.hpp:88
void print(int indent=0) const
Print the details of the Link.
std::string port_label_from
Label of the source port.
Definition link.hpp:89
LinkView(const Link &link, const Node &node_from, const Node &node_to)
Constructs a LinkView from a raw link and its associated nodes.
std::string from
Identifier of the source node.
Definition link.hpp:85
std::string port_label_to
Label of the destination port.
Definition link.hpp:90
Represents a connection between two nodes in a graph.
Definition link.hpp:39
bool operator==(const Link &other_link) const
Equality operator for Link.
Link(std::string from, int port_from, std::string to, int port_to)
Constructs a Link instance.
Definition link.hpp:52
int port_from
Port number on the source node.
Definition link.hpp:41
std::string to
Identifier of the destination node.
Definition link.hpp:42
void print() const
Prints the details of the Link.
int port_to
Port number on the destination node.
Definition link.hpp:43
std::string from
Identifier of the source node.
Definition link.hpp:40