rodrigo-brito / gocity

:bar_chart: Code City metaphor for visualizing Go source code in 3D
https://go-city.github.io
MIT License
1.8k stars 139 forks source link

Model has incorrect color for less than 2000 lines code #14

Closed aquelehugo closed 5 years ago

aquelehugo commented 5 years ago

Your example on Cobra ( https://go-city.github.io/#/github.com/spf13/cobra ) shows a model rendered in black. According to the legend, black models represent 2000+ lines files, but the represented file is only 1571 lines long.

image

image

rodrigo-brito commented 5 years ago

Hi @aquelehugo, thank you for the report. It is very close to black . GQLGen is a good example of the black level. black

aquelehugo commented 5 years ago

But is gray-like black, it should be blueish u.u

rodrigo-brito commented 5 years ago

The file color ranges between light gray and black, the blue color is used only for structs.

aquelehugo commented 5 years ago

You're right. I didn't relate the type color system with the line count color system. PICNIC kind of issue here :rofl: