22namespace shamrock::solvergraph {
35#define NODE_FREE_ALLOC_EDGES(X_RO, X_RW) X_RW(shamrock::solvergraph::IEdge, to_free)
36 EXPAND_NODE_EDGES(NODE_FREE_ALLOC_EDGES)
37#undef NODE_FREE_ALLOC_EDGES
50 std::string tex = R
"tex(
51 Free allocation ${to_free}$
Inode is node between data edges, takes multiple inputs, multiple outputs.
IEdge & get_rw_edge_base(int slot)
Get a reference to a read write edge and cast it to the type IEdge.
A node that simply frees the allocation of the connected node.
virtual std::string _impl_get_tex() const
Get the TeX representation of the node.
void _impl_evaluate_internal()
Evaluate the node.
virtual std::string _impl_get_label() const
Get the label of the node.
void replace_all(std::string &inout, std::string_view what, std::string_view with)
replace all occurence of a search string with another