-
Notifications
You must be signed in to change notification settings - Fork 19
serviceInputDefinition
Chris Churas edited this page Oct 17, 2024
·
12 revisions
Defines the input of the service-based app. This attribute describes how to assemble the data attribute in the request body when creating a task on the backend service. It should have this JSON structure:
{
"type": string,
"scope": string,
"inputColumns": object,
"inputNetwork": object
}Denoting the source of the data. Valid values are:
-
nodes: The app uses the node table as input data. -
edges: The app uses the edge table as input data. -
network: The app processes the entire network (current network) as input data.
Set to one of these values and it only applies to the current network:
-
dynamic(default): If there are selected elements, use selected elements. Otherwise, use all elements. -
selected: Only send the selected elements to the service. If there is no selection, the menu item for this app will be grayed out. -
all: Always send all elements to the service.
Defines how node/edge columns should be sent to service.
NOTE: Should only be set if type is nodes or edges
Defines how network should be sent to service.
NOTE: Should only be set if type is network