轻量高效的拓扑图组件
zh

React中使用Qunee组件

2024-10-12

React中使用Qunee组件,通过传入回调函数获取graph对象 Graph.jsx import {useEffect, useRef} from "../qunee_demo_3/doc/react.md"; import Q from 'https://demo.qunee.com/lib/qunee-es.js' export function Graph({onload}) { const ref = useRef(); useEffect(() => { let graph = new Q.Graph(ref.current); …

阅读更多