protocolbuffers/protobuf

UML Class Diagrams

已关闭

#6,043 创建于 2019年4月16日

 (4 条评论) (4 个反应) (0 位负责人)C++ (16,128 个派生)batch import
help wantedproto3

仓库指标

星标
 (71,223 个星标)
PR 合并指标
 (平均合并 2天 11小时) (30 天内合并 185 个 PR)

描述

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.

贡献者指南