Edge contains any attributes to be represented about edges in a graph.
| 269 | |
| 270 | // Edge contains any attributes to be represented about edges in a graph. |
| 271 | type Edge struct { |
| 272 | Src, Dest *Node |
| 273 | // The summary weight of the edge |
| 274 | Weight, WeightDiv int64 |
| 275 | |
| 276 | // residual edges connect nodes that were connected through a |
| 277 | // separate node, which has been removed from the report. |
| 278 | Residual bool |
| 279 | // An inline edge represents a call that was inlined into the caller. |
| 280 | Inline bool |
| 281 | } |
| 282 | |
| 283 | // WeightValue returns the weight value for this edge, normalizing if a |
| 284 | // divisor is available. |
nothing calls this directly
no outgoing calls
no test coverage detected