DotConfig contains attributes about how a graph should be constructed and how it should look.
| 42 | // DotConfig contains attributes about how a graph should be |
| 43 | // constructed and how it should look. |
| 44 | type DotConfig struct { |
| 45 | Title string // The title of the DOT graph |
| 46 | LegendURL string // The URL to link to from the legend. |
| 47 | Labels []string // The labels for the DOT's legend |
| 48 | |
| 49 | FormatValue func(int64) string // A formatting function for values |
| 50 | Total int64 // The total weight of the graph, used to compute percentages |
| 51 | } |
| 52 | |
| 53 | const maxNodelets = 4 // Number of nodelets for labels (both numeric and non) |
| 54 |
nothing calls this directly
no outgoing calls
no test coverage detected