FreeOpcUa / opcua-modeler

GUI to create OPC UA models and export them as XML
GNU General Public License v3.0
245 stars 89 forks source link

[Feature] Generate UML from UA Model #5

Open maljac opened 8 years ago

maljac commented 8 years ago

Hello,

it would be great if we could generate some UML class diagramm from a UA model.

If you read a companion spec, you might have seen some UML diagramms that visualize the UA model. I think that these diagramms are a good way to get a fast understanding of the given model. Thus, if you have to write some documentation of your model, you would have a "single source of truth". One might even create some special extensions for the opcua-modeler nodes in order to document the model / type / ... nodes and create some sort of auto-documentation from the UA model.

Since I am not familiar if there is some sort of XML specification for UML diagramms, I can not make an suggestion on technical details here.

oroulet commented 8 years ago

Hei,Sounds like an interesting idea, but maybe we should generate that kind of things from the python node structure, that means in python-opcua, then just add a button in opcua-modeler. @destogl that might be a good subject for a student?

destogl commented 8 years ago

Yes! I will think about it. As I said it will be started first in a month or so