iswunistuttgart / opcua-cs-graph

OPC UA (Companion) Specification Dependencies in a Graph
https://iswunistuttgart.github.io/opcua-cs-graph/
GNU General Public License v3.0
6 stars 5 forks source link

Readable Ids #7

Closed Kantiran91 closed 6 years ago

Kantiran91 commented 6 years ago

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"}]