20,000
1k10k100k1M
<GraphCanvas data={graph} enableWebGPURenderPath /> api.events.on('renderFault', (report) => { // faultKind: 'device-lost' | 'shader-compile-failed' // resultingPathId: the path actually in use now telemetry.warn('render fault', report.faultKind, report.resultingPathId); });
import { GraphCanvas } from '@kineviz/gl'; const nodes = [ { id: 'a', category: 'Person' }, { id: 'b', category: 'Person' }, ]; const edges = [ { source: 'a', target: 'b', relationship: 'KNOWS' }, ]; export default function App() { return ( <GraphCanvas data={{ nodes, edges }} nodeCloud edgeCloud caption forceLayout /> ); }
