jiangping
2025-04-21 82c8ea922d3effc048b9c81f022c5922a3b40791
1
2
3
4
5
import SeriesData from '../../data/SeriesData.js';
import Graph from '../../data/Graph.js';
import { OptionSourceDataOriginal, GraphEdgeItemObject, OptionDataValue, OptionDataItemObject } from '../../util/types.js';
import SeriesModel from '../../model/Series.js';
export default function createGraphFromNodeEdge(nodes: OptionSourceDataOriginal<OptionDataValue, OptionDataItemObject<OptionDataValue>>, edges: OptionSourceDataOriginal<OptionDataValue, GraphEdgeItemObject<OptionDataValue>>, seriesModel: SeriesModel, directed: boolean, beforeLink: (nodeData: SeriesData, edgeData: SeriesData) => void): Graph;