@graphty/graphty-element / extend / edgeMetricFields
Function: edgeMetricFields() ​
edgeMetricFields(
value): readonlyFieldDescriptor[]
Defined in: graphty-element/src/algorithms/metrics/fields.ts:114
Build the fields every edge-metric result publishes: nodeMetricFields for a value measured per edge.
Parameters ​
value ​
MetricValueName
What this metric's primary value is called.
Returns ​
readonly FieldDescriptor[]
The uniform field list for the edge-metric shape.