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

Method getEdgeByIndex

src/data/Graph.ts:153–156  ·  view source on GitHub ↗

* Get edge by data index

(dataIndex: number)

Source from the content-addressed store, hash-verified

151 * Get edge by data index
152 */
153 getEdgeByIndex(dataIndex: number): GraphEdge {
154 const rawIdx = this.edgeData.getRawIndex(dataIndex);
155 return this.edges[rawIdx];
156 };
157 /**
158 * Get edge by two linked nodes
159 */

Callers 6

updateDataMethod · 0.80
formatTooltipMethod · 0.80
beforeLinkMethod · 0.80
graphEdgeVisualFunction · 0.80
graphForceLayoutFunction · 0.80
formatTooltipMethod · 0.80

Calls 1

getRawIndexMethod · 0.65

Tested by

no test coverage detected