protocolbuffers/protobuf

UML Class Diagrams

Chiusa

#6043 aperta il 16 apr 2019

 (4 commenti) (4 reazioni) (0 assegnatari)C++ (16.128 fork)batch import
help wantedproto3

Metriche repository

Star
 (71.223 stelle)
Metriche merge PR
 (Merge medio 2g 11h) (185 PR mergiate in 30 g)

Descrizione

What language does this apply to? If it's a proto syntax change, is it for proto2 or proto3? proto3 If it's about generated code change, what programming language? any

Describe the problem you are trying to solve.

It would be very useful to generate class diagrams based on protobuf message definitions, including the members/fields of each class, as well as the class relationships.

Describe the solution you'd like

A script or command-line utility to output images (e.g. png) or something like GraphViz files with the generated UML diagrams.

Describe alternatives you've considered

I've looked into protoc-gen-uml and protobuf2uml but both tools lack useful documentation and neither are actively maintained.

Guida contributor