acidjunk / pyang

Automatically exported from code.google.com/p/pyang
ISC License
0 stars 0 forks source link

Enhance UML output for Enums #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the product are you using? On what operating system?
1.4.1 on Windows7

Currently pYang produces output like

enum "address-family" as iana_afn_safi_I_address_family
iana_afn_safi_I_address_family : ipV4 
iana_afn_safi_I_address_family : ipV6 
iana_afn_safi_I_address_family : nsap 
iana_afn_safi_I_address_family : ... 

which plant UML renders none of the Enum literals.

it would be good to have an option

--uml-max-literals, so we can override what seems to be the default max of 3

Original issue reported on code.google.com by t.leahs...@gmail.com on 3 Mar 2014 at 12:17

GoogleCodeExporter commented 9 years ago

Original comment by mbj4...@gmail.com on 3 Mar 2014 at 9:46

GoogleCodeExporter commented 9 years ago
fixed

Original comment by wall...@gmail.com on 7 Mar 2014 at 11:42

GoogleCodeExporter commented 9 years ago
Added --uml-max-enums

Original comment by wall...@gmail.com on 9 Mar 2014 at 1:15