GraphPlaceholder¶
A placeholder that can accept a graph or callable function.
This can be used when declaring functions that accept other functions as arguments. This is used, for example, for call-back functions or small ad-hoc functions (like a+b) that are passed into another function. Note that if the graph that you receive itself contains free placeholders which need to be bound downstream in your function in order for the received graph to be runnable, you will have to declare those free placeholders in the "graph [contained free names]" field (or in code, in the graph__signature field). However, this is not always the case, in fact most ad hoc functions do not have any free placeholders, and can instead be called with some number of positional arguments (depending on the intended use case). More Info... Version 1.0.0
Ports/Properties¶
graph¶
Received graph.
graph__signature¶
Signature for the "graph" input. This represents the contained free names for the subgraph that is wired into the "graph" port. This is formatted as in (a,b,c) where a,b,c are names of placeholders that are expected in the subgraph that goes out of the "graph" port. Alternatively, it can also be provided in data structure form as a list of lists, as in: [['a','b','c']].
slotname¶
Name of the placeholder.
verbose_name¶
Optional verbose name for the placeholder. Can be used in function declarations for a more descriptive name.
desc¶
Help text for the placeholder. Only needs to be specified in function declarations. This is typically a single sentence.
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.