moscot.utils.subset_policy.ExternalStarPolicy.add_node¶
- ExternalStarPolicy.add_node(node, only_existing=False)[source]¶
Add a node to the policy graph.
- Parameters:
- Return type:
ExternalStarPolicy[TypeVar(K, bound=Hashable)]- Returns:
: Remove the
node, if present and return self.