I want to dynamically use some master data in noflo components. For example In my graph I will use same component in different ids. based on that I will also change the data. How to access the metada in graph into my component?
"processes": {
"Foo": { "component": "Bar", "metadata": { "display": { "x": 100, "y": 200 }, "hello": "World" } },
"Bar": { "component": "Baz", "metadata": {} },
"Bar2": { "component": "bar", "metadata": {} },
"Bar3": { "component": "bar2", "metadata": {} }
},
For example if this is a graph, how to access the metadata in my component? I'm using nodejs to build the custom components