Graph component-based node relationship display method, apparatus and device, and medium
The embodiment of the invention discloses a node relation display method and device based on a graph component, equipment and a medium, and the method comprises the steps: introducing the graph component of an Echarts library into a Vue framework, and defining a storage array of node data and edge d...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention discloses a node relation display method and device based on a graph component, equipment and a medium, and the method comprises the steps: introducing the graph component of an Echarts library into a Vue framework, and defining a storage array of node data and edge data in the Vue framework; to-be-displayed data are obtained, node data and edge data are determined according to the relation between the to-be-displayed data, the node data comprise node identifiers, and the edge data comprise starting node identifiers and ending node identifiers; the node data and the edge data in the data to be displayed are stored in the storage array; and transmitting the node data and the edge data in the storage array into the graph component for node relationship display.
本说明书实施例公开了一种基于graph组件的节点关系展示方法、装置、设备及介质,包括:在Vue框架中引入Echarts库的graph组件,并在所述Vue框架中定义节点数据和边数据的存放数组;获取待展示数据,并根据所述待展示数据间的关系,确定节点数据和边数据,所述节点数据包括节点标识,所述边数据包括起始节点标识与结束节点标识;将所述待展示数据中的所述节点数据和所述边数据存储到所述存放数组中;将所述存放数组中的所述节点数据和所述边数据传入所述g |
---|