seamia / protodot

transforming your .proto files into .dot files (and .svg, .png if you happen to have graphviz installed)
BSD 3-Clause "New" or "Revised" License
403 stars 39 forks source link

Adding annotations to the dot/svg files #9

Open navdeepgaur opened 2 years ago

navdeepgaur commented 2 years ago

Hi, many thanks for this superb project. I feel that people might benefit from having the option to also include proto annotations in generated dot/svg files. I would like to work on that and contribute back, but I am not a Go programmer and finding it a challenge to unravel where to start inspecting the code to add the same functionality.

Is it possible for you to point me to where the functionality for adding name/datatype of the field lives in the code base, so I can start experimenting?

So much better if a feature like this is already in the works.

Thanks!

gedw99 commented 1 year ago

So you can see in the svg the link back to the original proto file ?