improve mutual friends graph performance

This commit is contained in:
pa
2025-12-13 23:26:32 +09:00
committed by Natsumi
parent 9d9805265a
commit 728434f336
2 changed files with 13 additions and 3 deletions
@@ -287,7 +287,7 @@
if (!chartRef.value) {
return;
}
chartInstance = echarts.init(chartRef.value, chartTheme.value, { useDirtyRect: totalFriends.value > 1000 });
chartInstance = echarts.init(chartRef.value, chartTheme.value, { renderer: 'svg' });
chartInstance.on('click', handleChartNodeClick);
if (graphReady.value) {