iswunistuttgart/opcua-cs-graph

Readable Ids

Closed this issue · 0 comments

Is your feature request related to a problem? Please describe.
I want to add some new connections and Cs but to understand how to construct the Id in the field usedOPCUAPart I need to look at the source code.

Describe the solution you'd like
The current way the graph construct the ID is: spec.id + "_" + version[0].replace(/\./g, "_"). But maybe we can reference in the usedOPCUAPart a tuple.

example:
-old: "usedOPCUAPart": ["opcua_part1_1_02"]
-new: "usedOPCUAPart": [{id: opcua_part1, version:"1.02"}]