MCPcopy
hub / github.com/apache/echarts / getSymbolSize

Function getSymbolSize

src/chart/graph/graphHelper.ts:34–40  ·  view source on GitHub ↗
(node: GraphNode)

Source from the content-addressed store, hash-verified

32}
33
34export function getSymbolSize(node: GraphNode) {
35 let symbolSize = node.getVisual('symbolSize');
36 if (symbolSize instanceof Array) {
37 symbolSize = (symbolSize[0] + symbolSize[1]) / 2;
38 }
39 return +symbolSize;
40}
41

Callers 2

adjustEdgeFunction · 0.90
symbolSizeFunction · 0.90

Calls 1

getVisualMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…