mbj4668 / pyang

An extensible YANG validator and converter in python
ISC License
528 stars 342 forks source link

Correct display of features and deviations within the module class for UML plugin #863

Closed nkhancock closed 1 year ago

nkhancock commented 1 year ago

In the class representing the module in the rendered UML, the name of features defined within the module and the deviated nodes are displayed as PlantUML keywords rather than the YANG identifier for a feature or the node within the schema tree for a deviation. This change corrects these issues. Note that the handling of deviation statements may need further improvements.

nkhancock commented 1 year ago

This change can be verified by creating a UML from ietf-hardware without any UML-specific option specified. Without this change pyang outputs the following: image

With this change pyang outputs the following: image