add_node#
- eclypse.policies.topology.add_node(node_id, *, strict=False, **assets)[source]#
Add a node if it is missing.
- Parameters:
node_id (str) – Node identifier to add.
strict (bool) – Whether graph insertion should use strict duplicate checks.
assets (Any) – Node assets passed to the graph.
- Returns:
Policy that adds the node when absent.
- Return type: