![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Directed graph node. More...
#include <topological_sort.h>
Collaboration diagram for dt_digraph_node_t:Data Fields | |
| const char * | id |
| char * | tag |
| GList * | previous |
| void * | user_data |
Directed graph node.
Nodes are identified by id and carry:
Semantics:
When produced by flatten_nodes(), id is owned (g_strdup()) and must be freed.
| const char* dt_digraph_node_t::id |
Node identifier (owned for canonical nodes created by flatten).
Referenced by _hm_build_input_nodes_from_ids_filtered(), _hm_topo_resolve_incompatible_constraints(), dt_digraph_node_free_full(), flatten_nodes(), and topological_sort().
| GList* dt_digraph_node_t::previous |
GList of dt_digraph_node_t* (each element is a predecessor node).
Referenced by _hm_build_raster_mask_nodes_from_modules(), _iop_rules(), dt_digraph_node_free_full(), flatten_nodes(), and topological_sort().
| char* dt_digraph_node_t::tag |
Optional label for debugging/provenance (owned; may be NULL).
Referenced by _hm_build_raster_mask_nodes_from_modules(), _iop_rules(), dt_digraph_node_free_full(), and flatten_nodes().
| void* dt_digraph_node_t::user_data |
Arbitrary payload (ownership defined by caller; may be freed via callback).
Referenced by dt_digraph_node_free_full(), and flatten_nodes().