-
Notifications
You must be signed in to change notification settings - Fork 1
Bagel Format
Malte Langosz edited this page Aug 1, 2019
·
1 revision
The bagel file format is yaml, which can easily be handled by python or the [configmaps][] library in c++. The general expected document structure is as follows:
nodes: # list of nodes
- name: 'name of the node'
type: 'kind of node' # the type defines the number of in- and outputs
id: 1 # the id is only used in this file to map the edges
any: 'tags that are not used by the c_bagel library are ignored'
edges: # list of edges
- fromNode: name of the source node
fromNodeOutput: port name of the source node
toNode: name of the target node
toNodeInput: port name of the target node
weight: 1.0
any: "foo"