Change to undirected graph

This commit is contained in:
yangdx
2025-04-07 01:17:44 +08:00
parent fe7b5ac13b
commit ad96bed7ac
2 changed files with 13 additions and 14 deletions

View File

@@ -31,7 +31,7 @@ import '@react-sigma/graph-search/lib/style.css'
const defaultSigmaSettings: Partial<SigmaSettings> = {
allowInvalidContainer: true,
defaultNodeType: 'default',
defaultEdgeType: 'curvedArrow',
defaultEdgeType: 'curvedNoArrow',
renderEdgeLabels: false,
edgeProgramClasses: {
arrow: EdgeArrowProgram,