[{"data":1,"prerenderedAt":2359,"buildId":2360},["ShallowReactive",2],{"$f38ww38glvdjb":3,"$f3dobni4q3p2xl":80,"$f3emljnu76c6xv":115,"-docs-components-controls-description":150,"-docs-components-controls-prop-direction-description":163,"-docs-components-controls-prop-position-description":172,"component-example-controlsDirectionExample":181,"component-example-controlsDirectionExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":185,"component-example-controlsPositionExample":617,"component-example-controlsPositionExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":621,"component-example-controlsSlotExample":1010,"component-example-controlsSlotExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":1014,"component-meta-SigmaControls":1849,"component-meta-sigmaControls":1893,"docs--docs-components-controls":1911,"docs-navigation-zh-CN":2114,"mdc--kyryde-key":2340,"surround--docs-components-controls":2356},{"attributes":4,"options":5,"nodes":9,"edges":51},{},{"type":6,"multi":7,"allowSelfLoops":8},"mixed",false,true,[10,17,25,32,38,44],{"key":11,"attributes":12},"a",{"label":13,"x":14,"y":14,"size":15,"color":16},"A",0,20,"#e22653",{"key":18,"attributes":19},"b",{"label":20,"x":21,"y":22,"size":23,"color":24},"B",100,-100,40,"#e28b53",{"key":26,"attributes":27},"c",{"label":28,"x":29,"y":30,"size":15,"color":31},"C",300,-200,"#9be225",{"key":33,"attributes":34},"d",{"label":35,"x":21,"y":36,"size":15,"color":37},"D",-300,"#53a4e2",{"key":39,"attributes":40},"e",{"label":41,"x":29,"y":42,"size":23,"color":43},"E",-400,"#7553e2",{"key":45,"attributes":46},"f",{"label":47,"x":48,"y":49,"size":15,"color":50},"F",400,-500,"#e253d5",[52,56,59,62,65,68,71,74,77],{"source":11,"target":18,"attributes":53},{"size":54,"label":55},10,"A-B",{"source":18,"target":26,"attributes":57},{"size":54,"label":58},"B-C",{"source":18,"target":33,"attributes":60},{"size":54,"label":61},"B-D",{"source":26,"target":18,"attributes":63},{"size":54,"label":64},"C-B",{"source":26,"target":39,"attributes":66},{"size":54,"label":67},"C-E",{"source":33,"target":26,"attributes":69},{"size":54,"label":70},"D-C",{"source":33,"target":39,"attributes":72},{"size":54,"label":73},"D-E",{"source":39,"target":33,"attributes":75},{"size":54,"label":76},"E-D",{"source":45,"target":39,"attributes":78},{"size":54,"label":79},"F-E",{"attributes":81,"options":82,"nodes":83,"edges":96},{},{"type":6,"multi":7,"allowSelfLoops":8},[84,86,88,90,92,94],{"key":11,"attributes":85},{"label":13,"x":14,"y":14,"size":15,"color":16},{"key":18,"attributes":87},{"label":20,"x":21,"y":22,"size":23,"color":24},{"key":26,"attributes":89},{"label":28,"x":29,"y":30,"size":15,"color":31},{"key":33,"attributes":91},{"label":35,"x":21,"y":36,"size":15,"color":37},{"key":39,"attributes":93},{"label":41,"x":29,"y":42,"size":23,"color":43},{"key":45,"attributes":95},{"label":47,"x":48,"y":49,"size":15,"color":50},[97,99,101,103,105,107,109,111,113],{"source":11,"target":18,"attributes":98},{"size":54,"label":55},{"source":18,"target":26,"attributes":100},{"size":54,"label":58},{"source":18,"target":33,"attributes":102},{"size":54,"label":61},{"source":26,"target":18,"attributes":104},{"size":54,"label":64},{"source":26,"target":39,"attributes":106},{"size":54,"label":67},{"source":33,"target":26,"attributes":108},{"size":54,"label":70},{"source":33,"target":39,"attributes":110},{"size":54,"label":73},{"source":39,"target":33,"attributes":112},{"size":54,"label":76},{"source":45,"target":39,"attributes":114},{"size":54,"label":79},{"attributes":116,"options":117,"nodes":118,"edges":131},{},{"type":6,"multi":7,"allowSelfLoops":8},[119,121,123,125,127,129],{"key":11,"attributes":120},{"label":13,"x":14,"y":14,"size":15,"color":16},{"key":18,"attributes":122},{"label":20,"x":21,"y":22,"size":23,"color":24},{"key":26,"attributes":124},{"label":28,"x":29,"y":30,"size":15,"color":31},{"key":33,"attributes":126},{"label":35,"x":21,"y":36,"size":15,"color":37},{"key":39,"attributes":128},{"label":41,"x":29,"y":42,"size":23,"color":43},{"key":45,"attributes":130},{"label":47,"x":48,"y":49,"size":15,"color":50},[132,134,136,138,140,142,144,146,148],{"source":11,"target":18,"attributes":133},{"size":54,"label":55},{"source":18,"target":26,"attributes":135},{"size":54,"label":58},{"source":18,"target":33,"attributes":137},{"size":54,"label":61},{"source":26,"target":18,"attributes":139},{"size":54,"label":64},{"source":26,"target":39,"attributes":141},{"size":54,"label":67},{"source":33,"target":26,"attributes":143},{"size":54,"label":70},{"source":33,"target":39,"attributes":145},{"size":54,"label":73},{"source":39,"target":33,"attributes":147},{"size":54,"label":76},{"source":45,"target":39,"attributes":149},{"size":54,"label":79},{"data":151,"body":152},{},{"type":153,"children":154},"root",[155],{"type":156,"tag":157,"props":158,"children":159},"element","p",{},[160],{"type":161,"value":162},"text","控件容器，负责八向停靠与排布方向，替使用方做掉绝对定位这件事。",{"data":164,"body":165},{},{"type":153,"children":166},[167],{"type":156,"tag":157,"props":168,"children":169},{},[170],{"type":161,"value":171},"内部控件的排布方向，reverse 变体会连同控件组内部一起翻转",{"data":173,"body":174},{},{"type":153,"children":175},[176],{"type":156,"tag":157,"props":177,"children":178},{},[179],{"type":161,"value":180},"停靠位，语序为「纵向-横向」，四角之外还有四条边的中点",{"code":182,"filePath":183,"pascalName":184},"\u003Cscript setup lang=\"ts\">\ndefineProps\u003C{\n  direction?: 'vertical' | 'vertical-reverse' | 'horizontal' | 'horizontal-reverse'\n}>()\n\nconst { data } = await useFetch('\u002Fapi\u002Fsmall.json')\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CSigmaGraph :data=\"data\">\n    \u003CSigmaControls position=\"top-right\" :direction=\"direction\">\n      \u003CSigmaZoomControl \u002F>\n      \u003CSigmaFullscreenControl \u002F>\n    \u003C\u002FSigmaControls>\n  \u003C\u002FSigmaGraph>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002FControlsDirectionExample.vue","ControlsDirectionExample",{"data":186,"body":188,"toc":615},{"title":187,"description":187},"",{"type":153,"children":189},[190,609],{"type":156,"tag":191,"props":192,"children":196},"pre",{"className":193,"code":194,"language":195,"meta":187,"style":187},"language-vue shiki shiki-themes github-light github-light github-dark","\u003Cscript setup lang=\"ts\">\ndefineProps\u003C{\n  direction?: 'vertical' | 'vertical-reverse' | 'horizontal' | 'horizontal-reverse'\n}>()\n\nconst { data } = await useFetch('\u002Fapi\u002Fsmall.json')\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CSigmaGraph :data=\"data\">\n    \u003CSigmaControls position=\"top-right\" :direction=\"direction\">\n      \u003CSigmaZoomControl \u002F>\n      \u003CSigmaFullscreenControl \u002F>\n    \u003C\u002FSigmaControls>\n  \u003C\u002FSigmaGraph>\n\u003C\u002Ftemplate>\n\n","vue",[197],{"type":156,"tag":198,"props":199,"children":200},"code",{"__ignoreMap":187},[201,246,260,309,318,327,381,398,406,423,466,523,542,559,576,593],{"type":156,"tag":202,"props":203,"children":206},"span",{"class":204,"line":205},"line",1,[207,213,219,225,230,235,241],{"type":156,"tag":202,"props":208,"children":210},{"style":209},"--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8",[211],{"type":161,"value":212},"\u003C",{"type":156,"tag":202,"props":214,"children":216},{"style":215},"--shiki-light:#22863A;--shiki-default:#22863A;--shiki-dark:#85E89D",[217],{"type":161,"value":218},"script",{"type":156,"tag":202,"props":220,"children":222},{"style":221},"--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0",[223],{"type":161,"value":224}," setup",{"type":156,"tag":202,"props":226,"children":227},{"style":221},[228],{"type":161,"value":229}," lang",{"type":156,"tag":202,"props":231,"children":232},{"style":209},[233],{"type":161,"value":234},"=",{"type":156,"tag":202,"props":236,"children":238},{"style":237},"--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF",[239],{"type":161,"value":240},"\"ts\"",{"type":156,"tag":202,"props":242,"children":243},{"style":209},[244],{"type":161,"value":245},">\n",{"type":156,"tag":202,"props":247,"children":249},{"class":204,"line":248},2,[250,255],{"type":156,"tag":202,"props":251,"children":252},{"style":221},[253],{"type":161,"value":254},"defineProps",{"type":156,"tag":202,"props":256,"children":257},{"style":209},[258],{"type":161,"value":259},"\u003C{\n",{"type":156,"tag":202,"props":261,"children":263},{"class":204,"line":262},3,[264,270,276,281,286,291,295,300,304],{"type":156,"tag":202,"props":265,"children":267},{"style":266},"--shiki-light:#E36209;--shiki-default:#E36209;--shiki-dark:#FFAB70",[268],{"type":161,"value":269},"  direction",{"type":156,"tag":202,"props":271,"children":273},{"style":272},"--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583",[274],{"type":161,"value":275},"?:",{"type":156,"tag":202,"props":277,"children":278},{"style":237},[279],{"type":161,"value":280}," 'vertical'",{"type":156,"tag":202,"props":282,"children":283},{"style":272},[284],{"type":161,"value":285}," |",{"type":156,"tag":202,"props":287,"children":288},{"style":237},[289],{"type":161,"value":290}," 'vertical-reverse'",{"type":156,"tag":202,"props":292,"children":293},{"style":272},[294],{"type":161,"value":285},{"type":156,"tag":202,"props":296,"children":297},{"style":237},[298],{"type":161,"value":299}," 'horizontal'",{"type":156,"tag":202,"props":301,"children":302},{"style":272},[303],{"type":161,"value":285},{"type":156,"tag":202,"props":305,"children":306},{"style":237},[307],{"type":161,"value":308}," 'horizontal-reverse'\n",{"type":156,"tag":202,"props":310,"children":312},{"class":204,"line":311},4,[313],{"type":156,"tag":202,"props":314,"children":315},{"style":209},[316],{"type":161,"value":317},"}>()\n",{"type":156,"tag":202,"props":319,"children":321},{"class":204,"line":320},5,[322],{"type":156,"tag":202,"props":323,"children":324},{"emptyLinePlaceholder":8},[325],{"type":161,"value":326},"\n",{"type":156,"tag":202,"props":328,"children":330},{"class":204,"line":329},6,[331,336,341,347,352,356,361,366,371,376],{"type":156,"tag":202,"props":332,"children":333},{"style":272},[334],{"type":161,"value":335},"const",{"type":156,"tag":202,"props":337,"children":338},{"style":209},[339],{"type":161,"value":340}," { ",{"type":156,"tag":202,"props":342,"children":344},{"style":343},"--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF",[345],{"type":161,"value":346},"data",{"type":156,"tag":202,"props":348,"children":349},{"style":209},[350],{"type":161,"value":351}," } ",{"type":156,"tag":202,"props":353,"children":354},{"style":272},[355],{"type":161,"value":234},{"type":156,"tag":202,"props":357,"children":358},{"style":272},[359],{"type":161,"value":360}," await",{"type":156,"tag":202,"props":362,"children":363},{"style":221},[364],{"type":161,"value":365}," useFetch",{"type":156,"tag":202,"props":367,"children":368},{"style":209},[369],{"type":161,"value":370},"(",{"type":156,"tag":202,"props":372,"children":373},{"style":237},[374],{"type":161,"value":375},"'\u002Fapi\u002Fsmall.json'",{"type":156,"tag":202,"props":377,"children":378},{"style":209},[379],{"type":161,"value":380},")\n",{"type":156,"tag":202,"props":382,"children":384},{"class":204,"line":383},7,[385,390,394],{"type":156,"tag":202,"props":386,"children":387},{"style":209},[388],{"type":161,"value":389},"\u003C\u002F",{"type":156,"tag":202,"props":391,"children":392},{"style":215},[393],{"type":161,"value":218},{"type":156,"tag":202,"props":395,"children":396},{"style":209},[397],{"type":161,"value":245},{"type":156,"tag":202,"props":399,"children":401},{"class":204,"line":400},8,[402],{"type":156,"tag":202,"props":403,"children":404},{"emptyLinePlaceholder":8},[405],{"type":161,"value":326},{"type":156,"tag":202,"props":407,"children":409},{"class":204,"line":408},9,[410,414,419],{"type":156,"tag":202,"props":411,"children":412},{"style":209},[413],{"type":161,"value":212},{"type":156,"tag":202,"props":415,"children":416},{"style":215},[417],{"type":161,"value":418},"template",{"type":156,"tag":202,"props":420,"children":421},{"style":209},[422],{"type":161,"value":245},{"type":156,"tag":202,"props":424,"children":425},{"class":204,"line":54},[426,431,436,441,445,449,454,458,462],{"type":156,"tag":202,"props":427,"children":428},{"style":209},[429],{"type":161,"value":430},"  \u003C",{"type":156,"tag":202,"props":432,"children":433},{"style":215},[434],{"type":161,"value":435},"SigmaGraph",{"type":156,"tag":202,"props":437,"children":438},{"style":209},[439],{"type":161,"value":440}," :",{"type":156,"tag":202,"props":442,"children":443},{"style":221},[444],{"type":161,"value":346},{"type":156,"tag":202,"props":446,"children":447},{"style":209},[448],{"type":161,"value":234},{"type":156,"tag":202,"props":450,"children":451},{"style":237},[452],{"type":161,"value":453},"\"",{"type":156,"tag":202,"props":455,"children":456},{"style":209},[457],{"type":161,"value":346},{"type":156,"tag":202,"props":459,"children":460},{"style":237},[461],{"type":161,"value":453},{"type":156,"tag":202,"props":463,"children":464},{"style":209},[465],{"type":161,"value":245},{"type":156,"tag":202,"props":467,"children":469},{"class":204,"line":468},11,[470,475,480,485,489,494,498,503,507,511,515,519],{"type":156,"tag":202,"props":471,"children":472},{"style":209},[473],{"type":161,"value":474},"    \u003C",{"type":156,"tag":202,"props":476,"children":477},{"style":215},[478],{"type":161,"value":479},"SigmaControls",{"type":156,"tag":202,"props":481,"children":482},{"style":221},[483],{"type":161,"value":484}," position",{"type":156,"tag":202,"props":486,"children":487},{"style":209},[488],{"type":161,"value":234},{"type":156,"tag":202,"props":490,"children":491},{"style":237},[492],{"type":161,"value":493},"\"top-right\"",{"type":156,"tag":202,"props":495,"children":496},{"style":209},[497],{"type":161,"value":440},{"type":156,"tag":202,"props":499,"children":500},{"style":221},[501],{"type":161,"value":502},"direction",{"type":156,"tag":202,"props":504,"children":505},{"style":209},[506],{"type":161,"value":234},{"type":156,"tag":202,"props":508,"children":509},{"style":237},[510],{"type":161,"value":453},{"type":156,"tag":202,"props":512,"children":513},{"style":209},[514],{"type":161,"value":502},{"type":156,"tag":202,"props":516,"children":517},{"style":237},[518],{"type":161,"value":453},{"type":156,"tag":202,"props":520,"children":521},{"style":209},[522],{"type":161,"value":245},{"type":156,"tag":202,"props":524,"children":526},{"class":204,"line":525},12,[527,532,537],{"type":156,"tag":202,"props":528,"children":529},{"style":209},[530],{"type":161,"value":531},"      \u003C",{"type":156,"tag":202,"props":533,"children":534},{"style":215},[535],{"type":161,"value":536},"SigmaZoomControl",{"type":156,"tag":202,"props":538,"children":539},{"style":209},[540],{"type":161,"value":541}," \u002F>\n",{"type":156,"tag":202,"props":543,"children":545},{"class":204,"line":544},13,[546,550,555],{"type":156,"tag":202,"props":547,"children":548},{"style":209},[549],{"type":161,"value":531},{"type":156,"tag":202,"props":551,"children":552},{"style":215},[553],{"type":161,"value":554},"SigmaFullscreenControl",{"type":156,"tag":202,"props":556,"children":557},{"style":209},[558],{"type":161,"value":541},{"type":156,"tag":202,"props":560,"children":562},{"class":204,"line":561},14,[563,568,572],{"type":156,"tag":202,"props":564,"children":565},{"style":209},[566],{"type":161,"value":567},"    \u003C\u002F",{"type":156,"tag":202,"props":569,"children":570},{"style":215},[571],{"type":161,"value":479},{"type":156,"tag":202,"props":573,"children":574},{"style":209},[575],{"type":161,"value":245},{"type":156,"tag":202,"props":577,"children":579},{"class":204,"line":578},15,[580,585,589],{"type":156,"tag":202,"props":581,"children":582},{"style":209},[583],{"type":161,"value":584},"  \u003C\u002F",{"type":156,"tag":202,"props":586,"children":587},{"style":215},[588],{"type":161,"value":435},{"type":156,"tag":202,"props":590,"children":591},{"style":209},[592],{"type":161,"value":245},{"type":156,"tag":202,"props":594,"children":596},{"class":204,"line":595},16,[597,601,605],{"type":156,"tag":202,"props":598,"children":599},{"style":209},[600],{"type":161,"value":389},{"type":156,"tag":202,"props":602,"children":603},{"style":215},[604],{"type":161,"value":418},{"type":156,"tag":202,"props":606,"children":607},{"style":209},[608],{"type":161,"value":245},{"type":156,"tag":610,"props":611,"children":612},"style",{},[613],{"type":161,"value":614},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":187,"searchDepth":248,"depth":248,"links":616},[],{"code":618,"filePath":619,"pascalName":620},"\u003Cscript setup lang=\"ts\">\ndefineProps\u003C{\n  position?:\n    | 'top-left' | 'top-center' | 'top-right'\n    | 'middle-left' | 'middle-right'\n    | 'bottom-left' | 'bottom-center' | 'bottom-right'\n}>()\n\nconst { data } = await useFetch('\u002Fapi\u002Fsmall.json')\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CSigmaGraph :data=\"data\">\n    \u003CSigmaControls :position=\"position\">\n      \u003CSigmaZoomControl \u002F>\n    \u003C\u002FSigmaControls>\n  \u003C\u002FSigmaGraph>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002FControlsPositionExample.vue","ControlsPositionExample",{"data":622,"body":623,"toc":1008},{"title":187,"description":187},{"type":153,"children":624},[625,1004],{"type":156,"tag":191,"props":626,"children":628},{"className":193,"code":627,"language":195,"meta":187,"style":187},"\u003Cscript setup lang=\"ts\">\ndefineProps\u003C{\n  position?:\n    | 'top-left' | 'top-center' | 'top-right'\n    | 'middle-left' | 'middle-right'\n    | 'bottom-left' | 'bottom-center' | 'bottom-right'\n}>()\n\nconst { data } = await useFetch('\u002Fapi\u002Fsmall.json')\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CSigmaGraph :data=\"data\">\n    \u003CSigmaControls :position=\"position\">\n      \u003CSigmaZoomControl \u002F>\n    \u003C\u002FSigmaControls>\n  \u003C\u002FSigmaGraph>\n\u003C\u002Ftemplate>\n\n",[629],{"type":156,"tag":198,"props":630,"children":631},{"__ignoreMap":187},[632,663,674,687,718,739,769,776,783,826,841,848,863,902,942,957,972,988],{"type":156,"tag":202,"props":633,"children":634},{"class":204,"line":205},[635,639,643,647,651,655,659],{"type":156,"tag":202,"props":636,"children":637},{"style":209},[638],{"type":161,"value":212},{"type":156,"tag":202,"props":640,"children":641},{"style":215},[642],{"type":161,"value":218},{"type":156,"tag":202,"props":644,"children":645},{"style":221},[646],{"type":161,"value":224},{"type":156,"tag":202,"props":648,"children":649},{"style":221},[650],{"type":161,"value":229},{"type":156,"tag":202,"props":652,"children":653},{"style":209},[654],{"type":161,"value":234},{"type":156,"tag":202,"props":656,"children":657},{"style":237},[658],{"type":161,"value":240},{"type":156,"tag":202,"props":660,"children":661},{"style":209},[662],{"type":161,"value":245},{"type":156,"tag":202,"props":664,"children":665},{"class":204,"line":248},[666,670],{"type":156,"tag":202,"props":667,"children":668},{"style":221},[669],{"type":161,"value":254},{"type":156,"tag":202,"props":671,"children":672},{"style":209},[673],{"type":161,"value":259},{"type":156,"tag":202,"props":675,"children":676},{"class":204,"line":262},[677,682],{"type":156,"tag":202,"props":678,"children":679},{"style":266},[680],{"type":161,"value":681},"  position",{"type":156,"tag":202,"props":683,"children":684},{"style":272},[685],{"type":161,"value":686},"?:\n",{"type":156,"tag":202,"props":688,"children":689},{"class":204,"line":311},[690,695,700,704,709,713],{"type":156,"tag":202,"props":691,"children":692},{"style":272},[693],{"type":161,"value":694},"    |",{"type":156,"tag":202,"props":696,"children":697},{"style":237},[698],{"type":161,"value":699}," 'top-left'",{"type":156,"tag":202,"props":701,"children":702},{"style":272},[703],{"type":161,"value":285},{"type":156,"tag":202,"props":705,"children":706},{"style":237},[707],{"type":161,"value":708}," 'top-center'",{"type":156,"tag":202,"props":710,"children":711},{"style":272},[712],{"type":161,"value":285},{"type":156,"tag":202,"props":714,"children":715},{"style":237},[716],{"type":161,"value":717}," 'top-right'\n",{"type":156,"tag":202,"props":719,"children":720},{"class":204,"line":320},[721,725,730,734],{"type":156,"tag":202,"props":722,"children":723},{"style":272},[724],{"type":161,"value":694},{"type":156,"tag":202,"props":726,"children":727},{"style":237},[728],{"type":161,"value":729}," 'middle-left'",{"type":156,"tag":202,"props":731,"children":732},{"style":272},[733],{"type":161,"value":285},{"type":156,"tag":202,"props":735,"children":736},{"style":237},[737],{"type":161,"value":738}," 'middle-right'\n",{"type":156,"tag":202,"props":740,"children":741},{"class":204,"line":329},[742,746,751,755,760,764],{"type":156,"tag":202,"props":743,"children":744},{"style":272},[745],{"type":161,"value":694},{"type":156,"tag":202,"props":747,"children":748},{"style":237},[749],{"type":161,"value":750}," 'bottom-left'",{"type":156,"tag":202,"props":752,"children":753},{"style":272},[754],{"type":161,"value":285},{"type":156,"tag":202,"props":756,"children":757},{"style":237},[758],{"type":161,"value":759}," 'bottom-center'",{"type":156,"tag":202,"props":761,"children":762},{"style":272},[763],{"type":161,"value":285},{"type":156,"tag":202,"props":765,"children":766},{"style":237},[767],{"type":161,"value":768}," 'bottom-right'\n",{"type":156,"tag":202,"props":770,"children":771},{"class":204,"line":383},[772],{"type":156,"tag":202,"props":773,"children":774},{"style":209},[775],{"type":161,"value":317},{"type":156,"tag":202,"props":777,"children":778},{"class":204,"line":400},[779],{"type":156,"tag":202,"props":780,"children":781},{"emptyLinePlaceholder":8},[782],{"type":161,"value":326},{"type":156,"tag":202,"props":784,"children":785},{"class":204,"line":408},[786,790,794,798,802,806,810,814,818,822],{"type":156,"tag":202,"props":787,"children":788},{"style":272},[789],{"type":161,"value":335},{"type":156,"tag":202,"props":791,"children":792},{"style":209},[793],{"type":161,"value":340},{"type":156,"tag":202,"props":795,"children":796},{"style":343},[797],{"type":161,"value":346},{"type":156,"tag":202,"props":799,"children":800},{"style":209},[801],{"type":161,"value":351},{"type":156,"tag":202,"props":803,"children":804},{"style":272},[805],{"type":161,"value":234},{"type":156,"tag":202,"props":807,"children":808},{"style":272},[809],{"type":161,"value":360},{"type":156,"tag":202,"props":811,"children":812},{"style":221},[813],{"type":161,"value":365},{"type":156,"tag":202,"props":815,"children":816},{"style":209},[817],{"type":161,"value":370},{"type":156,"tag":202,"props":819,"children":820},{"style":237},[821],{"type":161,"value":375},{"type":156,"tag":202,"props":823,"children":824},{"style":209},[825],{"type":161,"value":380},{"type":156,"tag":202,"props":827,"children":828},{"class":204,"line":54},[829,833,837],{"type":156,"tag":202,"props":830,"children":831},{"style":209},[832],{"type":161,"value":389},{"type":156,"tag":202,"props":834,"children":835},{"style":215},[836],{"type":161,"value":218},{"type":156,"tag":202,"props":838,"children":839},{"style":209},[840],{"type":161,"value":245},{"type":156,"tag":202,"props":842,"children":843},{"class":204,"line":468},[844],{"type":156,"tag":202,"props":845,"children":846},{"emptyLinePlaceholder":8},[847],{"type":161,"value":326},{"type":156,"tag":202,"props":849,"children":850},{"class":204,"line":525},[851,855,859],{"type":156,"tag":202,"props":852,"children":853},{"style":209},[854],{"type":161,"value":212},{"type":156,"tag":202,"props":856,"children":857},{"style":215},[858],{"type":161,"value":418},{"type":156,"tag":202,"props":860,"children":861},{"style":209},[862],{"type":161,"value":245},{"type":156,"tag":202,"props":864,"children":865},{"class":204,"line":544},[866,870,874,878,882,886,890,894,898],{"type":156,"tag":202,"props":867,"children":868},{"style":209},[869],{"type":161,"value":430},{"type":156,"tag":202,"props":871,"children":872},{"style":215},[873],{"type":161,"value":435},{"type":156,"tag":202,"props":875,"children":876},{"style":209},[877],{"type":161,"value":440},{"type":156,"tag":202,"props":879,"children":880},{"style":221},[881],{"type":161,"value":346},{"type":156,"tag":202,"props":883,"children":884},{"style":209},[885],{"type":161,"value":234},{"type":156,"tag":202,"props":887,"children":888},{"style":237},[889],{"type":161,"value":453},{"type":156,"tag":202,"props":891,"children":892},{"style":209},[893],{"type":161,"value":346},{"type":156,"tag":202,"props":895,"children":896},{"style":237},[897],{"type":161,"value":453},{"type":156,"tag":202,"props":899,"children":900},{"style":209},[901],{"type":161,"value":245},{"type":156,"tag":202,"props":903,"children":904},{"class":204,"line":561},[905,909,913,917,922,926,930,934,938],{"type":156,"tag":202,"props":906,"children":907},{"style":209},[908],{"type":161,"value":474},{"type":156,"tag":202,"props":910,"children":911},{"style":215},[912],{"type":161,"value":479},{"type":156,"tag":202,"props":914,"children":915},{"style":209},[916],{"type":161,"value":440},{"type":156,"tag":202,"props":918,"children":919},{"style":221},[920],{"type":161,"value":921},"position",{"type":156,"tag":202,"props":923,"children":924},{"style":209},[925],{"type":161,"value":234},{"type":156,"tag":202,"props":927,"children":928},{"style":237},[929],{"type":161,"value":453},{"type":156,"tag":202,"props":931,"children":932},{"style":209},[933],{"type":161,"value":921},{"type":156,"tag":202,"props":935,"children":936},{"style":237},[937],{"type":161,"value":453},{"type":156,"tag":202,"props":939,"children":940},{"style":209},[941],{"type":161,"value":245},{"type":156,"tag":202,"props":943,"children":944},{"class":204,"line":578},[945,949,953],{"type":156,"tag":202,"props":946,"children":947},{"style":209},[948],{"type":161,"value":531},{"type":156,"tag":202,"props":950,"children":951},{"style":215},[952],{"type":161,"value":536},{"type":156,"tag":202,"props":954,"children":955},{"style":209},[956],{"type":161,"value":541},{"type":156,"tag":202,"props":958,"children":959},{"class":204,"line":595},[960,964,968],{"type":156,"tag":202,"props":961,"children":962},{"style":209},[963],{"type":161,"value":567},{"type":156,"tag":202,"props":965,"children":966},{"style":215},[967],{"type":161,"value":479},{"type":156,"tag":202,"props":969,"children":970},{"style":209},[971],{"type":161,"value":245},{"type":156,"tag":202,"props":973,"children":975},{"class":204,"line":974},17,[976,980,984],{"type":156,"tag":202,"props":977,"children":978},{"style":209},[979],{"type":161,"value":584},{"type":156,"tag":202,"props":981,"children":982},{"style":215},[983],{"type":161,"value":435},{"type":156,"tag":202,"props":985,"children":986},{"style":209},[987],{"type":161,"value":245},{"type":156,"tag":202,"props":989,"children":991},{"class":204,"line":990},18,[992,996,1000],{"type":156,"tag":202,"props":993,"children":994},{"style":209},[995],{"type":161,"value":389},{"type":156,"tag":202,"props":997,"children":998},{"style":215},[999],{"type":161,"value":418},{"type":156,"tag":202,"props":1001,"children":1002},{"style":209},[1003],{"type":161,"value":245},{"type":156,"tag":610,"props":1005,"children":1006},{},[1007],{"type":161,"value":614},{"title":187,"searchDepth":248,"depth":248,"links":1009},[],{"code":1011,"filePath":1012,"pascalName":1013},"\u003Cscript setup lang=\"ts\">\nconst { data } = await useFetch('\u002Fapi\u002Fsmall.json')\n\nconst starred = shallowRef\u003Cstring[]>([])\n\nfunction star(key: string) {\n  starred.value = starred.value.includes(key)\n    ? starred.value.filter(item => item !== key)\n    : [...starred.value, key]\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CSigmaGraph :data=\"data\">\n    \u003CSigmaControls direction=\"horizontal\">\n      \u003CUButton\n        v-for=\"node in data?.nodes\"\n        :key=\"node.key\"\n        size=\"xs\"\n        :variant=\"starred.includes(node.key) ? 'solid' : 'soft'\"\n        :label=\"node.attributes.label\"\n        @click=\"star(node.key)\"\n      \u002F>\n    \u003C\u002FSigmaControls>\n\n    \u003CSigmaControls position=\"bottom-right\">\n      \u003CUBadge color=\"neutral\" variant=\"subtle\" :label=\"`已标记 ${starred.length} 个`\" \u002F>\n      \u003CSigmaZoomControl :reset=\"false\" \u002F>\n    \u003C\u002FSigmaControls>\n  \u003C\u002FSigmaGraph>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002FControlsSlotExample.vue","ControlsSlotExample",{"data":1015,"body":1016,"toc":1847},{"title":187,"description":187},{"type":153,"children":1017},[1018,1843],{"type":156,"tag":191,"props":1019,"children":1021},{"className":193,"code":1020,"language":195,"meta":187,"style":187},"\u003Cscript setup lang=\"ts\">\nconst { data } = await useFetch('\u002Fapi\u002Fsmall.json')\n\nconst starred = shallowRef\u003Cstring[]>([])\n\nfunction star(key: string) {\n  starred.value = starred.value.includes(key)\n    ? starred.value.filter(item => item !== key)\n    : [...starred.value, key]\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CSigmaGraph :data=\"data\">\n    \u003CSigmaControls direction=\"horizontal\">\n      \u003CUButton\n        v-for=\"node in data?.nodes\"\n        :key=\"node.key\"\n        size=\"xs\"\n        :variant=\"starred.includes(node.key) ? 'solid' : 'soft'\"\n        :label=\"node.attributes.label\"\n        @click=\"star(node.key)\"\n      \u002F>\n    \u003C\u002FSigmaControls>\n\n    \u003CSigmaControls position=\"bottom-right\">\n      \u003CUBadge color=\"neutral\" variant=\"subtle\" :label=\"`已标记 ${starred.length} 个`\" \u002F>\n      \u003CSigmaZoomControl :reset=\"false\" \u002F>\n    \u003C\u002FSigmaControls>\n  \u003C\u002FSigmaGraph>\n\u003C\u002Ftemplate>\n\n",[1022],{"type":156,"tag":198,"props":1023,"children":1024},{"__ignoreMap":187},[1025,1056,1099,1106,1142,1149,1186,1213,1259,1282,1290,1305,1312,1327,1366,1395,1407,1443,1472,1490,1543,1573,1609,1618,1634,1642,1671,1753,1795,1811,1827],{"type":156,"tag":202,"props":1026,"children":1027},{"class":204,"line":205},[1028,1032,1036,1040,1044,1048,1052],{"type":156,"tag":202,"props":1029,"children":1030},{"style":209},[1031],{"type":161,"value":212},{"type":156,"tag":202,"props":1033,"children":1034},{"style":215},[1035],{"type":161,"value":218},{"type":156,"tag":202,"props":1037,"children":1038},{"style":221},[1039],{"type":161,"value":224},{"type":156,"tag":202,"props":1041,"children":1042},{"style":221},[1043],{"type":161,"value":229},{"type":156,"tag":202,"props":1045,"children":1046},{"style":209},[1047],{"type":161,"value":234},{"type":156,"tag":202,"props":1049,"children":1050},{"style":237},[1051],{"type":161,"value":240},{"type":156,"tag":202,"props":1053,"children":1054},{"style":209},[1055],{"type":161,"value":245},{"type":156,"tag":202,"props":1057,"children":1058},{"class":204,"line":248},[1059,1063,1067,1071,1075,1079,1083,1087,1091,1095],{"type":156,"tag":202,"props":1060,"children":1061},{"style":272},[1062],{"type":161,"value":335},{"type":156,"tag":202,"props":1064,"children":1065},{"style":209},[1066],{"type":161,"value":340},{"type":156,"tag":202,"props":1068,"children":1069},{"style":343},[1070],{"type":161,"value":346},{"type":156,"tag":202,"props":1072,"children":1073},{"style":209},[1074],{"type":161,"value":351},{"type":156,"tag":202,"props":1076,"children":1077},{"style":272},[1078],{"type":161,"value":234},{"type":156,"tag":202,"props":1080,"children":1081},{"style":272},[1082],{"type":161,"value":360},{"type":156,"tag":202,"props":1084,"children":1085},{"style":221},[1086],{"type":161,"value":365},{"type":156,"tag":202,"props":1088,"children":1089},{"style":209},[1090],{"type":161,"value":370},{"type":156,"tag":202,"props":1092,"children":1093},{"style":237},[1094],{"type":161,"value":375},{"type":156,"tag":202,"props":1096,"children":1097},{"style":209},[1098],{"type":161,"value":380},{"type":156,"tag":202,"props":1100,"children":1101},{"class":204,"line":262},[1102],{"type":156,"tag":202,"props":1103,"children":1104},{"emptyLinePlaceholder":8},[1105],{"type":161,"value":326},{"type":156,"tag":202,"props":1107,"children":1108},{"class":204,"line":311},[1109,1113,1118,1123,1128,1132,1137],{"type":156,"tag":202,"props":1110,"children":1111},{"style":272},[1112],{"type":161,"value":335},{"type":156,"tag":202,"props":1114,"children":1115},{"style":343},[1116],{"type":161,"value":1117}," starred",{"type":156,"tag":202,"props":1119,"children":1120},{"style":272},[1121],{"type":161,"value":1122}," =",{"type":156,"tag":202,"props":1124,"children":1125},{"style":221},[1126],{"type":161,"value":1127}," shallowRef",{"type":156,"tag":202,"props":1129,"children":1130},{"style":209},[1131],{"type":161,"value":212},{"type":156,"tag":202,"props":1133,"children":1134},{"style":343},[1135],{"type":161,"value":1136},"string",{"type":156,"tag":202,"props":1138,"children":1139},{"style":209},[1140],{"type":161,"value":1141},"[]>([])\n",{"type":156,"tag":202,"props":1143,"children":1144},{"class":204,"line":320},[1145],{"type":156,"tag":202,"props":1146,"children":1147},{"emptyLinePlaceholder":8},[1148],{"type":161,"value":326},{"type":156,"tag":202,"props":1150,"children":1151},{"class":204,"line":329},[1152,1157,1162,1166,1171,1176,1181],{"type":156,"tag":202,"props":1153,"children":1154},{"style":272},[1155],{"type":161,"value":1156},"function",{"type":156,"tag":202,"props":1158,"children":1159},{"style":221},[1160],{"type":161,"value":1161}," star",{"type":156,"tag":202,"props":1163,"children":1164},{"style":209},[1165],{"type":161,"value":370},{"type":156,"tag":202,"props":1167,"children":1168},{"style":266},[1169],{"type":161,"value":1170},"key",{"type":156,"tag":202,"props":1172,"children":1173},{"style":272},[1174],{"type":161,"value":1175},":",{"type":156,"tag":202,"props":1177,"children":1178},{"style":343},[1179],{"type":161,"value":1180}," string",{"type":156,"tag":202,"props":1182,"children":1183},{"style":209},[1184],{"type":161,"value":1185},") {\n",{"type":156,"tag":202,"props":1187,"children":1188},{"class":204,"line":383},[1189,1194,1198,1203,1208],{"type":156,"tag":202,"props":1190,"children":1191},{"style":209},[1192],{"type":161,"value":1193},"  starred.value ",{"type":156,"tag":202,"props":1195,"children":1196},{"style":272},[1197],{"type":161,"value":234},{"type":156,"tag":202,"props":1199,"children":1200},{"style":209},[1201],{"type":161,"value":1202}," starred.value.",{"type":156,"tag":202,"props":1204,"children":1205},{"style":221},[1206],{"type":161,"value":1207},"includes",{"type":156,"tag":202,"props":1209,"children":1210},{"style":209},[1211],{"type":161,"value":1212},"(key)\n",{"type":156,"tag":202,"props":1214,"children":1215},{"class":204,"line":400},[1216,1221,1225,1230,1234,1239,1244,1249,1254],{"type":156,"tag":202,"props":1217,"children":1218},{"style":272},[1219],{"type":161,"value":1220},"    ?",{"type":156,"tag":202,"props":1222,"children":1223},{"style":209},[1224],{"type":161,"value":1202},{"type":156,"tag":202,"props":1226,"children":1227},{"style":221},[1228],{"type":161,"value":1229},"filter",{"type":156,"tag":202,"props":1231,"children":1232},{"style":209},[1233],{"type":161,"value":370},{"type":156,"tag":202,"props":1235,"children":1236},{"style":266},[1237],{"type":161,"value":1238},"item",{"type":156,"tag":202,"props":1240,"children":1241},{"style":272},[1242],{"type":161,"value":1243}," =>",{"type":156,"tag":202,"props":1245,"children":1246},{"style":209},[1247],{"type":161,"value":1248}," item ",{"type":156,"tag":202,"props":1250,"children":1251},{"style":272},[1252],{"type":161,"value":1253},"!==",{"type":156,"tag":202,"props":1255,"children":1256},{"style":209},[1257],{"type":161,"value":1258}," key)\n",{"type":156,"tag":202,"props":1260,"children":1261},{"class":204,"line":408},[1262,1267,1272,1277],{"type":156,"tag":202,"props":1263,"children":1264},{"style":272},[1265],{"type":161,"value":1266},"    :",{"type":156,"tag":202,"props":1268,"children":1269},{"style":209},[1270],{"type":161,"value":1271}," [",{"type":156,"tag":202,"props":1273,"children":1274},{"style":272},[1275],{"type":161,"value":1276},"...",{"type":156,"tag":202,"props":1278,"children":1279},{"style":209},[1280],{"type":161,"value":1281},"starred.value, key]\n",{"type":156,"tag":202,"props":1283,"children":1284},{"class":204,"line":54},[1285],{"type":156,"tag":202,"props":1286,"children":1287},{"style":209},[1288],{"type":161,"value":1289},"}\n",{"type":156,"tag":202,"props":1291,"children":1292},{"class":204,"line":468},[1293,1297,1301],{"type":156,"tag":202,"props":1294,"children":1295},{"style":209},[1296],{"type":161,"value":389},{"type":156,"tag":202,"props":1298,"children":1299},{"style":215},[1300],{"type":161,"value":218},{"type":156,"tag":202,"props":1302,"children":1303},{"style":209},[1304],{"type":161,"value":245},{"type":156,"tag":202,"props":1306,"children":1307},{"class":204,"line":525},[1308],{"type":156,"tag":202,"props":1309,"children":1310},{"emptyLinePlaceholder":8},[1311],{"type":161,"value":326},{"type":156,"tag":202,"props":1313,"children":1314},{"class":204,"line":544},[1315,1319,1323],{"type":156,"tag":202,"props":1316,"children":1317},{"style":209},[1318],{"type":161,"value":212},{"type":156,"tag":202,"props":1320,"children":1321},{"style":215},[1322],{"type":161,"value":418},{"type":156,"tag":202,"props":1324,"children":1325},{"style":209},[1326],{"type":161,"value":245},{"type":156,"tag":202,"props":1328,"children":1329},{"class":204,"line":561},[1330,1334,1338,1342,1346,1350,1354,1358,1362],{"type":156,"tag":202,"props":1331,"children":1332},{"style":209},[1333],{"type":161,"value":430},{"type":156,"tag":202,"props":1335,"children":1336},{"style":215},[1337],{"type":161,"value":435},{"type":156,"tag":202,"props":1339,"children":1340},{"style":209},[1341],{"type":161,"value":440},{"type":156,"tag":202,"props":1343,"children":1344},{"style":221},[1345],{"type":161,"value":346},{"type":156,"tag":202,"props":1347,"children":1348},{"style":209},[1349],{"type":161,"value":234},{"type":156,"tag":202,"props":1351,"children":1352},{"style":237},[1353],{"type":161,"value":453},{"type":156,"tag":202,"props":1355,"children":1356},{"style":209},[1357],{"type":161,"value":346},{"type":156,"tag":202,"props":1359,"children":1360},{"style":237},[1361],{"type":161,"value":453},{"type":156,"tag":202,"props":1363,"children":1364},{"style":209},[1365],{"type":161,"value":245},{"type":156,"tag":202,"props":1367,"children":1368},{"class":204,"line":578},[1369,1373,1377,1382,1386,1391],{"type":156,"tag":202,"props":1370,"children":1371},{"style":209},[1372],{"type":161,"value":474},{"type":156,"tag":202,"props":1374,"children":1375},{"style":215},[1376],{"type":161,"value":479},{"type":156,"tag":202,"props":1378,"children":1379},{"style":221},[1380],{"type":161,"value":1381}," direction",{"type":156,"tag":202,"props":1383,"children":1384},{"style":209},[1385],{"type":161,"value":234},{"type":156,"tag":202,"props":1387,"children":1388},{"style":237},[1389],{"type":161,"value":1390},"\"horizontal\"",{"type":156,"tag":202,"props":1392,"children":1393},{"style":209},[1394],{"type":161,"value":245},{"type":156,"tag":202,"props":1396,"children":1397},{"class":204,"line":595},[1398,1402],{"type":156,"tag":202,"props":1399,"children":1400},{"style":209},[1401],{"type":161,"value":531},{"type":156,"tag":202,"props":1403,"children":1404},{"style":215},[1405],{"type":161,"value":1406},"UButton\n",{"type":156,"tag":202,"props":1408,"children":1409},{"class":204,"line":974},[1410,1415,1419,1423,1428,1433,1438],{"type":156,"tag":202,"props":1411,"children":1412},{"style":272},[1413],{"type":161,"value":1414},"        v-for",{"type":156,"tag":202,"props":1416,"children":1417},{"style":209},[1418],{"type":161,"value":234},{"type":156,"tag":202,"props":1420,"children":1421},{"style":237},[1422],{"type":161,"value":453},{"type":156,"tag":202,"props":1424,"children":1425},{"style":209},[1426],{"type":161,"value":1427},"node ",{"type":156,"tag":202,"props":1429,"children":1430},{"style":272},[1431],{"type":161,"value":1432},"in",{"type":156,"tag":202,"props":1434,"children":1435},{"style":209},[1436],{"type":161,"value":1437}," data?.nodes",{"type":156,"tag":202,"props":1439,"children":1440},{"style":237},[1441],{"type":161,"value":1442},"\"\n",{"type":156,"tag":202,"props":1444,"children":1445},{"class":204,"line":990},[1446,1451,1455,1459,1463,1468],{"type":156,"tag":202,"props":1447,"children":1448},{"style":209},[1449],{"type":161,"value":1450},"        :",{"type":156,"tag":202,"props":1452,"children":1453},{"style":221},[1454],{"type":161,"value":1170},{"type":156,"tag":202,"props":1456,"children":1457},{"style":209},[1458],{"type":161,"value":234},{"type":156,"tag":202,"props":1460,"children":1461},{"style":237},[1462],{"type":161,"value":453},{"type":156,"tag":202,"props":1464,"children":1465},{"style":209},[1466],{"type":161,"value":1467},"node.key",{"type":156,"tag":202,"props":1469,"children":1470},{"style":237},[1471],{"type":161,"value":1442},{"type":156,"tag":202,"props":1473,"children":1475},{"class":204,"line":1474},19,[1476,1481,1485],{"type":156,"tag":202,"props":1477,"children":1478},{"style":221},[1479],{"type":161,"value":1480},"        size",{"type":156,"tag":202,"props":1482,"children":1483},{"style":209},[1484],{"type":161,"value":234},{"type":156,"tag":202,"props":1486,"children":1487},{"style":237},[1488],{"type":161,"value":1489},"\"xs\"\n",{"type":156,"tag":202,"props":1491,"children":1492},{"class":204,"line":15},[1493,1497,1502,1506,1510,1515,1519,1524,1529,1534,1538],{"type":156,"tag":202,"props":1494,"children":1495},{"style":209},[1496],{"type":161,"value":1450},{"type":156,"tag":202,"props":1498,"children":1499},{"style":221},[1500],{"type":161,"value":1501},"variant",{"type":156,"tag":202,"props":1503,"children":1504},{"style":209},[1505],{"type":161,"value":234},{"type":156,"tag":202,"props":1507,"children":1508},{"style":237},[1509],{"type":161,"value":453},{"type":156,"tag":202,"props":1511,"children":1512},{"style":209},[1513],{"type":161,"value":1514},"starred.",{"type":156,"tag":202,"props":1516,"children":1517},{"style":221},[1518],{"type":161,"value":1207},{"type":156,"tag":202,"props":1520,"children":1521},{"style":209},[1522],{"type":161,"value":1523},"(node.key) ",{"type":156,"tag":202,"props":1525,"children":1526},{"style":272},[1527],{"type":161,"value":1528},"?",{"type":156,"tag":202,"props":1530,"children":1531},{"style":237},[1532],{"type":161,"value":1533}," 'solid'",{"type":156,"tag":202,"props":1535,"children":1536},{"style":272},[1537],{"type":161,"value":440},{"type":156,"tag":202,"props":1539,"children":1540},{"style":237},[1541],{"type":161,"value":1542}," 'soft'\"\n",{"type":156,"tag":202,"props":1544,"children":1546},{"class":204,"line":1545},21,[1547,1551,1556,1560,1564,1569],{"type":156,"tag":202,"props":1548,"children":1549},{"style":209},[1550],{"type":161,"value":1450},{"type":156,"tag":202,"props":1552,"children":1553},{"style":221},[1554],{"type":161,"value":1555},"label",{"type":156,"tag":202,"props":1557,"children":1558},{"style":209},[1559],{"type":161,"value":234},{"type":156,"tag":202,"props":1561,"children":1562},{"style":237},[1563],{"type":161,"value":453},{"type":156,"tag":202,"props":1565,"children":1566},{"style":209},[1567],{"type":161,"value":1568},"node.attributes.label",{"type":156,"tag":202,"props":1570,"children":1571},{"style":237},[1572],{"type":161,"value":1442},{"type":156,"tag":202,"props":1574,"children":1576},{"class":204,"line":1575},22,[1577,1582,1587,1591,1595,1600,1605],{"type":156,"tag":202,"props":1578,"children":1579},{"style":209},[1580],{"type":161,"value":1581},"        @",{"type":156,"tag":202,"props":1583,"children":1584},{"style":221},[1585],{"type":161,"value":1586},"click",{"type":156,"tag":202,"props":1588,"children":1589},{"style":209},[1590],{"type":161,"value":234},{"type":156,"tag":202,"props":1592,"children":1593},{"style":237},[1594],{"type":161,"value":453},{"type":156,"tag":202,"props":1596,"children":1597},{"style":221},[1598],{"type":161,"value":1599},"star",{"type":156,"tag":202,"props":1601,"children":1602},{"style":209},[1603],{"type":161,"value":1604},"(node.key)",{"type":156,"tag":202,"props":1606,"children":1607},{"style":237},[1608],{"type":161,"value":1442},{"type":156,"tag":202,"props":1610,"children":1612},{"class":204,"line":1611},23,[1613],{"type":156,"tag":202,"props":1614,"children":1615},{"style":209},[1616],{"type":161,"value":1617},"      \u002F>\n",{"type":156,"tag":202,"props":1619,"children":1621},{"class":204,"line":1620},24,[1622,1626,1630],{"type":156,"tag":202,"props":1623,"children":1624},{"style":209},[1625],{"type":161,"value":567},{"type":156,"tag":202,"props":1627,"children":1628},{"style":215},[1629],{"type":161,"value":479},{"type":156,"tag":202,"props":1631,"children":1632},{"style":209},[1633],{"type":161,"value":245},{"type":156,"tag":202,"props":1635,"children":1637},{"class":204,"line":1636},25,[1638],{"type":156,"tag":202,"props":1639,"children":1640},{"emptyLinePlaceholder":8},[1641],{"type":161,"value":326},{"type":156,"tag":202,"props":1643,"children":1645},{"class":204,"line":1644},26,[1646,1650,1654,1658,1662,1667],{"type":156,"tag":202,"props":1647,"children":1648},{"style":209},[1649],{"type":161,"value":474},{"type":156,"tag":202,"props":1651,"children":1652},{"style":215},[1653],{"type":161,"value":479},{"type":156,"tag":202,"props":1655,"children":1656},{"style":221},[1657],{"type":161,"value":484},{"type":156,"tag":202,"props":1659,"children":1660},{"style":209},[1661],{"type":161,"value":234},{"type":156,"tag":202,"props":1663,"children":1664},{"style":237},[1665],{"type":161,"value":1666},"\"bottom-right\"",{"type":156,"tag":202,"props":1668,"children":1669},{"style":209},[1670],{"type":161,"value":245},{"type":156,"tag":202,"props":1672,"children":1674},{"class":204,"line":1673},27,[1675,1679,1684,1689,1693,1698,1703,1707,1712,1716,1720,1724,1729,1734,1739,1744,1749],{"type":156,"tag":202,"props":1676,"children":1677},{"style":209},[1678],{"type":161,"value":531},{"type":156,"tag":202,"props":1680,"children":1681},{"style":215},[1682],{"type":161,"value":1683},"UBadge",{"type":156,"tag":202,"props":1685,"children":1686},{"style":221},[1687],{"type":161,"value":1688}," color",{"type":156,"tag":202,"props":1690,"children":1691},{"style":209},[1692],{"type":161,"value":234},{"type":156,"tag":202,"props":1694,"children":1695},{"style":237},[1696],{"type":161,"value":1697},"\"neutral\"",{"type":156,"tag":202,"props":1699,"children":1700},{"style":221},[1701],{"type":161,"value":1702}," variant",{"type":156,"tag":202,"props":1704,"children":1705},{"style":209},[1706],{"type":161,"value":234},{"type":156,"tag":202,"props":1708,"children":1709},{"style":237},[1710],{"type":161,"value":1711},"\"subtle\"",{"type":156,"tag":202,"props":1713,"children":1714},{"style":209},[1715],{"type":161,"value":440},{"type":156,"tag":202,"props":1717,"children":1718},{"style":221},[1719],{"type":161,"value":1555},{"type":156,"tag":202,"props":1721,"children":1722},{"style":209},[1723],{"type":161,"value":234},{"type":156,"tag":202,"props":1725,"children":1726},{"style":237},[1727],{"type":161,"value":1728},"\"`已标记 ${",{"type":156,"tag":202,"props":1730,"children":1731},{"style":209},[1732],{"type":161,"value":1733},"starred",{"type":156,"tag":202,"props":1735,"children":1736},{"style":237},[1737],{"type":161,"value":1738},".",{"type":156,"tag":202,"props":1740,"children":1741},{"style":343},[1742],{"type":161,"value":1743},"length",{"type":156,"tag":202,"props":1745,"children":1746},{"style":237},[1747],{"type":161,"value":1748},"} 个`\"",{"type":156,"tag":202,"props":1750,"children":1751},{"style":209},[1752],{"type":161,"value":541},{"type":156,"tag":202,"props":1754,"children":1756},{"class":204,"line":1755},28,[1757,1761,1765,1769,1774,1778,1782,1787,1791],{"type":156,"tag":202,"props":1758,"children":1759},{"style":209},[1760],{"type":161,"value":531},{"type":156,"tag":202,"props":1762,"children":1763},{"style":215},[1764],{"type":161,"value":536},{"type":156,"tag":202,"props":1766,"children":1767},{"style":209},[1768],{"type":161,"value":440},{"type":156,"tag":202,"props":1770,"children":1771},{"style":221},[1772],{"type":161,"value":1773},"reset",{"type":156,"tag":202,"props":1775,"children":1776},{"style":209},[1777],{"type":161,"value":234},{"type":156,"tag":202,"props":1779,"children":1780},{"style":237},[1781],{"type":161,"value":453},{"type":156,"tag":202,"props":1783,"children":1784},{"style":343},[1785],{"type":161,"value":1786},"false",{"type":156,"tag":202,"props":1788,"children":1789},{"style":237},[1790],{"type":161,"value":453},{"type":156,"tag":202,"props":1792,"children":1793},{"style":209},[1794],{"type":161,"value":541},{"type":156,"tag":202,"props":1796,"children":1798},{"class":204,"line":1797},29,[1799,1803,1807],{"type":156,"tag":202,"props":1800,"children":1801},{"style":209},[1802],{"type":161,"value":567},{"type":156,"tag":202,"props":1804,"children":1805},{"style":215},[1806],{"type":161,"value":479},{"type":156,"tag":202,"props":1808,"children":1809},{"style":209},[1810],{"type":161,"value":245},{"type":156,"tag":202,"props":1812,"children":1814},{"class":204,"line":1813},30,[1815,1819,1823],{"type":156,"tag":202,"props":1816,"children":1817},{"style":209},[1818],{"type":161,"value":584},{"type":156,"tag":202,"props":1820,"children":1821},{"style":215},[1822],{"type":161,"value":435},{"type":156,"tag":202,"props":1824,"children":1825},{"style":209},[1826],{"type":161,"value":245},{"type":156,"tag":202,"props":1828,"children":1830},{"class":204,"line":1829},31,[1831,1835,1839],{"type":156,"tag":202,"props":1832,"children":1833},{"style":209},[1834],{"type":161,"value":389},{"type":156,"tag":202,"props":1836,"children":1837},{"style":215},[1838],{"type":161,"value":418},{"type":156,"tag":202,"props":1840,"children":1841},{"style":209},[1842],{"type":161,"value":245},{"type":156,"tag":610,"props":1844,"children":1845},{},[1846],{"type":161,"value":614},{"title":187,"searchDepth":248,"depth":248,"links":1848},[],{"mode":1850,"prefetch":7,"preload":7,"filePath":1851,"declarationPath":1852,"pascalName":479,"kebabName":1853,"chunkName":1854,"priority":14,"_scanned":8,"meta":1855},"all","..\u002Fsrc\u002Fruntime\u002Fcomponents\u002Fcontrols\u002FControls.vue","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fsrc\u002Fruntime\u002Fcomponents\u002Fcontrols\u002FControls.vue","sigma-controls","components\u002Fsigma-controls",{"type":205,"props":1856,"slots":1885,"events":1890,"exposed":1891,"hash":1892},[1857,1874],{"name":921,"global":7,"default":1858,"description":180,"tags":1859,"required":7,"type":1862,"schema":1863},"'top-left'",[1860],{"name":1861,"text":1858},"defaultValue","undefined | \"top-left\" | \"top-center\" | \"top-right\" | \"middle-left\" | \"middle-right\" | \"bottom-left\" | \"bottom-center\" | \"bottom-right\"",{"kind":1864,"type":1865,"schema":1866},"enum","\"top-left\" | \"top-center\" | \"top-right\" | \"middle-left\" | \"middle-right\" | \"bottom-left\" | \"bottom-center\" | \"bottom-right\" | undefined",{"0":1867,"1":1868,"2":1869,"3":493,"4":1870,"5":1871,"6":1872,"7":1873,"8":1666},"undefined","\"top-left\"","\"top-center\"","\"middle-left\"","\"middle-right\"","\"bottom-left\"","\"bottom-center\"",{"name":502,"global":7,"default":1875,"description":171,"tags":1876,"required":7,"type":1878,"schema":1879},"'vertical'",[1877],{"name":1861,"text":1875},"undefined | \"vertical\" | \"vertical-reverse\" | \"horizontal\" | \"horizontal-reverse\"",{"kind":1864,"type":1880,"schema":1881},"\"vertical\" | \"vertical-reverse\" | \"horizontal\" | \"horizontal-reverse\" | undefined",{"0":1867,"1":1882,"2":1883,"3":1390,"4":1884},"\"vertical\"","\"vertical-reverse\"","\"horizontal-reverse\"",[1886],{"name":1887,"type":1888,"description":187,"tags":1889},"default","{}",[],[],[],"KL6A9azTVBudagqZxxrVcBPQhJG07hyXNKdYLm_c3R8",{"mode":1850,"prefetch":7,"preload":7,"filePath":1851,"declarationPath":1852,"pascalName":479,"kebabName":1853,"chunkName":1854,"priority":14,"_scanned":8,"meta":1894},{"type":205,"props":1895,"slots":1906,"events":1909,"exposed":1910,"hash":1892},[1896,1901],{"name":921,"global":7,"default":1868,"description":180,"tags":1897,"required":7,"type":1865,"schema":1899},[1898],{"name":1861,"text":1858},{"kind":1864,"type":1865,"schema":1900},{"0":1867,"1":1868,"2":1869,"3":493,"4":1870,"5":1871,"6":1872,"7":1873,"8":1666},{"name":502,"global":7,"default":1882,"description":171,"tags":1902,"required":7,"type":1880,"schema":1904},[1903],{"name":1861,"text":1875},{"kind":1864,"type":1880,"schema":1905},{"0":1867,"1":1882,"2":1883,"3":1390,"4":1884},[1907],{"name":1887,"type":1888,"description":187,"tags":1908},[],[],[],{"id":1912,"title":479,"body":1913,"category":2104,"description":162,"difficulty":2105,"extension":2106,"index":7,"keywords":2105,"links":2105,"meta":2107,"navigation":2105,"path":2108,"requires":2105,"seo":2109,"sitemap":2111,"stem":2112,"__hash__":2113},"docs\u002Fdocs\u002F2.components\u002F06.controls.md",{"type":1914,"value":1915,"toc":2091},"minimark",[1916,1920,1932,1947,1952,1955,1959,1974,2001,2005,2030,2033,2040,2043,2046,2049,2051,2073,2077,2081,2084,2088],[1917,1918,1919],"h2",{"id":1919},"用法",[157,1921,1922,1924,1925,1928,1929,1931],{},[198,1923,435],{}," 的默认插槽排在占满高度的画布之后，走的是正常文档流——直接往里塞控件会被挤到容器之外并被 ",[198,1926,1927],{},"overflow"," 裁掉。",[198,1930,479],{}," 就是替你把绝对定位这件事做掉的容器。",[157,1933,1934,1935,1938,1939,1942,1943,1946],{},"组件完全不碰 sigma 上下文，只渲染一个带 ",[198,1936,1937],{},"data-position"," \u002F ",[198,1940,1941],{},"data-direction"," 的 ",[198,1944,1945],{},"div","，停靠与排布全由 CSS 消费这两个属性。因此它也能装任何自定义内容，不限于内置控件。",[1948,1949,1950],"h3",{"id":921},[198,1951,921],{},[157,1953,1954],{},"停靠位的语序固定为「纵向-横向」，四角之外还有四条边的中点，共八个：",[1956,1957],"component-example",{"name":620,":options":1958},"[{\"name\":\"position\",\"label\":\"position\",\"items\":[\"top-left\",\"top-center\",\"top-right\",\"middle-left\",\"middle-right\",\"bottom-left\",\"bottom-center\",\"bottom-right\"],\"default\":\"top-left\"}]",[157,1960,1961,1962,1965,1966,1969,1970,1973],{},"四角停靠靠 ",[198,1963,1964],{},"--sigma-control-inset"," 与画布边缘留距；居中的那条轴改由 ",[198,1967,1968],{},"50%"," 加位移接管，",[198,1971,1972],{},"inset"," 只作用于另一条轴。",[1975,1976,1977,1978,1980,1981,1984,1985,1988,1989,1993,1994,1938,1997,2000],"note",{},"停靠位置还会影响子控件的行为：",[198,1979,1937],{}," 以 ",[198,1982,1983],{},"bottom"," 开头时，",[198,1986,1987],{},"SigmaSearchControl"," 的结果列表改为",[1990,1991,1992],"strong",{},"向上","展开，避免溢出画布底边。",[198,1995,1996],{},"middle-left",[198,1998,1999],{},"middle-right"," 停在画布中部，向下展开的空间足够，不触发这条规则。",[1948,2002,2003],{"id":502},[198,2004,502],{},[157,2006,2007,2008,1938,2011,2014,2015,2018,2019,2022,2023,2026,2027,2029],{},"除 ",[198,2009,2010],{},"vertical",[198,2012,2013],{},"horizontal"," 外还有两个 reverse 变体，对应 ",[198,2016,2017],{},"column-reverse"," 与 ",[198,2020,2021],{},"row-reverse","。控件组用的是 ",[198,2024,2025],{},"flex-direction: inherit","，所以 reverse 会一路下钻——",[198,2028,536],{}," 内部的放大、缩小、重置三个按钮也跟着翻转，语义是整个堆叠方向反过来：",[1956,2031],{"name":184,":options":2032},"[{\"name\":\"direction\",\"label\":\"direction\",\"items\":[\"vertical\",\"vertical-reverse\",\"horizontal\",\"horizontal-reverse\"],\"default\":\"vertical\"}]",[157,2034,2035,2036,2039],{},"容器是 flex，但刻意禁用了交叉轴拉伸——否则一个窄按钮会被最宽的兄弟撑开。纵向排布时按停靠位对齐：停右侧右对齐，停 ",[198,2037,2038],{},"*-center"," 居中对齐，其余左对齐；横向排布一律居中对齐。",[1917,2041,2042],{"id":2042},"示例",[1948,2044,2045],{"id":2045},"默认插槽",[157,2047,2048],{},"默认插槽没有作用域，放什么都可以。一张图上也可以放多个容器，各停各的角：",[1956,2050],{"name":1013},[1975,2052,2053,2054,2057,2058,2060,2061,2064,2065,2068,2069,2072],{},"控件之间的间距由 ",[198,2055,2056],{},"--sigma-control-gap"," 控制，与画布边缘的距离由 ",[198,2059,1964],{}," 控制，层级是 ",[198,2062,2063],{},"--sigma-control-z","（默认 ",[198,2066,2067],{},"5","，低于覆盖层的 ",[198,2070,2071],{},"10","）。",[1917,2074,2076],{"id":2075},"api","API",[1948,2078,2080],{"id":2079},"props","Props",[2082,2083],"component-props",{"slug":479},[1948,2085,2087],{"id":2086},"slots","Slots",[2089,2090],"component-slots",{"slug":479},{"title":187,"searchDepth":248,"depth":248,"links":2092},[2093,2097,2100],{"id":1919,"depth":248,"text":1919,"children":2094},[2095,2096],{"id":921,"depth":262,"text":921},{"id":502,"depth":262,"text":502},{"id":2042,"depth":248,"text":2042,"children":2098},[2099],{"id":2045,"depth":262,"text":2045},{"id":2075,"depth":248,"text":2076,"children":2101},[2102,2103],{"id":2079,"depth":262,"text":2080},{"id":2086,"depth":262,"text":2087},"controls",null,"md",{},"\u002Fdocs\u002Fcomponents\u002Fcontrols",{"title":479,"description":2110},"A container that docks built-in controls to any of eight edge positions on the canvas and lays them out, handling absolute positioning for you.",{"loc":2108},"docs\u002F2.components\u002F06.controls","MhnpyEyWMZ_n3Kuud8uBDENANFOfRydkP-1vc10rvKM",[2115],{"title":2116,"path":2117,"stem":2118,"children":2119,"page":7},"Docs","\u002Fdocs","docs",[2120,2161,2215,2304],{"title":2121,"path":2122,"stem":2123,"children":2124,"category":2105,"description":2105,"icon":2160},"开始","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[2125,2128,2133,2138],{"title":2126,"path":2122,"stem":2123,"category":2105,"description":2127},"简介","Movk Sigma 是基于 sigma v4 的知识图谱可视化 Nuxt 模块，为 Vue 3 \u002F Nuxt 4 提供声明式组件与 composables。",{"title":2129,"path":2130,"stem":2131,"category":2105,"description":2132},"安装","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation","安装 Movk Sigma 与必需的 peer 依赖，按需补装布局、分析、渲染程序等可选包。",{"title":2134,"path":2135,"stem":2136,"category":2105,"description":2137},"Vue + Vite","\u002Fdocs\u002Fgetting-started\u002Fvue","docs\u002F1.getting-started\u002F3.vue","在纯 Vue 3 + Vite 项目中经 @movk\u002Fsigma\u002Fvite、@movk\u002Fsigma\u002Fvue 与 vue-plugin 使用同一套组件与 composables。",{"title":2139,"category":2105,"description":2105,"icon":2140,"path":2141,"stem":2142,"children":2143,"page":7},"AI 集成","i-lucide-bot","\u002Fdocs\u002Fgetting-started\u002Fai","docs\u002F1.getting-started\u002Fai",[2144,2150,2155],{"title":2145,"path":2146,"stem":2147,"category":2148,"description":2149},"MCP Server","\u002Fdocs\u002Fgetting-started\u002Fai\u002Fmcp","docs\u002F1.getting-started\u002Fai\u002F1.mcp","ai","文档站内置 MCP Server，供 AI 智能体检索本库组件、composables、示例，并提供 styles 绑定与渲染原语等增强工具。",{"title":2151,"path":2152,"stem":2153,"category":2148,"description":2154},"llms.txt","\u002Fdocs\u002Fgetting-started\u002Fai\u002Fllms-txt","docs\u002F1.getting-started\u002Fai\u002F2.llms-txt","文档站自动生成 llms.txt 与 llms-full.txt，为大模型提供结构化的库能力与文档索引。",{"title":2156,"path":2157,"stem":2158,"category":2148,"description":2159},"Agent Skills","\u002Fdocs\u002Fgetting-started\u002Fai\u002Fskills","docs\u002F1.getting-started\u002Fai\u002F3.skills","文档站发布 movk-sigma Agent Skill，让 AI 工具一条命令即可学会用本库声明式地构建知识图谱。","i-lucide-square-play",{"title":2162,"category":2105,"description":2105,"icon":2163,"path":2164,"stem":2165,"children":2166,"page":7},"组件","i-lucide-box","\u002Fdocs\u002Fcomponents","docs\u002F2.components",[2167,2172,2177,2182,2187,2192,2193,2197,2201,2205,2210],{"title":435,"path":2168,"stem":2169,"category":2170,"description":2171},"\u002Fdocs\u002Fcomponents\u002Fgraph","docs\u002F2.components\u002F01.graph","core","根组件。创建 Sigma 实例与 graphology 图，下发上下文，透传配置，转发全部 sigma 事件。",{"title":2173,"path":2174,"stem":2175,"category":2170,"description":2176},"SigmaOverlay","\u002Fdocs\u002Fcomponents\u002Foverlay","docs\u002F2.components\u002F02.overlay","跟随画布定位的 DOM 覆盖层，可锚定到节点或图坐标，缩放平移时自动同步位置。",{"title":2178,"path":2179,"stem":2180,"category":2170,"description":2181},"SigmaTooltip","\u002Fdocs\u002Fcomponents\u002Ftooltip","docs\u002F2.components\u002F03.tooltip","悬浮或点击节点与边时弹出的提示层，默认展示 label，可用插槽完全接管内容。",{"title":2183,"path":2184,"stem":2185,"category":2170,"description":2186},"SigmaPopover","\u002Fdocs\u002Fcomponents\u002Fpopover","docs\u002F2.components\u002F04.popover","锚定到节点的常驻浮层，内部可交互，开合状态由 v-model:open 控制。",{"title":2188,"path":2189,"stem":2190,"category":2170,"description":2191},"SigmaContextMenu","\u002Fdocs\u002Fcomponents\u002Fcontext-menu","docs\u002F2.components\u002F05.context-menu","右键节点、边或空白处弹出的菜单，自动压掉浏览器原生菜单。",{"title":479,"path":2108,"stem":2112,"category":2104,"description":162},{"title":536,"path":2194,"stem":2195,"category":2104,"description":2196},"\u002Fdocs\u002Fcomponents\u002Fzoom-control","docs\u002F2.components\u002F07.zoom-control","放大、缩小、复位三个按钮，图标可经具名插槽替换，行为与无障碍结构由库提供。",{"title":554,"path":2198,"stem":2199,"category":2104,"description":2200},"\u002Fdocs\u002Fcomponents\u002Ffullscreen-control","docs\u002F2.components\u002F08.fullscreen-control","全屏开关。整个 .sigma-root 一起进入全屏，覆盖层与其他控件都跟随。",{"title":1987,"path":2202,"stem":2203,"category":2104,"description":2204},"\u002Fdocs\u002Fcomponents\u002Fsearch-control","docs\u002F2.components\u002F09.search-control","带防抖、键盘导航与命中高亮的检索框，四个插槽可逐层接管外观，作用域连行为一起给。",{"title":2206,"path":2207,"stem":2208,"category":2104,"description":2209},"SigmaLegend","\u002Fdocs\u002Fcomponents\u002Flegend","docs\u002F2.components\u002F10.legend","按节点属性聚合的图例，点击条目切换该组显隐，插槽同时给出数据与切换行为。",{"title":2211,"path":2212,"stem":2213,"category":2104,"description":2214},"SigmaMiniMap","\u002Fdocs\u002Fcomponents\u002Fmini-map","docs\u002F2.components\u002F11.mini-map","缩略图与视口框，点击任意位置把相机平移过去。",{"title":2216,"category":2105,"description":2105,"icon":2217,"path":2218,"stem":2219,"children":2220,"page":7},"Composables","i-lucide-plug","\u002Fdocs\u002Fcomposables","docs\u002F3.composables",[2221,2227,2232,2237,2242,2247,2252,2258,2263,2268,2273,2278,2283,2288,2294,2299],{"title":2222,"path":2223,"stem":2224,"category":2225,"description":2226},"useSigma","\u002Fdocs\u002Fcomposables\u002Fuse-sigma","docs\u002F3.composables\u002F01.use-sigma","base","注入当前 SigmaGraph 的上下文，拿到原生 Sigma 与 graphology 实例。",{"title":2228,"path":2229,"stem":2230,"category":2225,"description":2231},"useSigmaById","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-by-id","docs\u002F3.composables\u002F02.use-sigma-by-id","按 id 取实例上下文，用于组件树之外或跨路由访问；useSigmaIds 列出全部已登记的 id。",{"title":2233,"path":2234,"stem":2235,"category":2225,"description":2236},"useSigmaGraph","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-graph","docs\u002F3.composables\u002F03.use-sigma-graph","把 graphology 的变更桥接成 Vue 的响应式信号，提供 version、order、size 与变更回调。",{"title":2238,"path":2239,"stem":2240,"category":2225,"description":2241},"useSigmaEvents","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-events","docs\u002F3.composables\u002F04.use-sigma-events","声明式绑定 sigma 事件，作用域销毁时自动解绑，接受根组件 emits 未覆盖的任意事件名。",{"title":2243,"path":2244,"stem":2245,"category":2225,"description":2246},"useSigmaSettings","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-settings","docs\u002F3.composables\u002F05.use-sigma-settings","把响应式的配置同步到 sigma，源变化即调用 setSettings，整体透传不做键过滤。",{"title":2248,"path":2249,"stem":2250,"category":2225,"description":2251},"useSigmaState","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-state","docs\u002F3.composables\u002F06.use-sigma-state","读写 sigma 的交互状态，把悬停、高亮、隐藏这些纯展示态存在实例内部而不污染图数据。",{"title":2253,"path":2254,"stem":2255,"category":2256,"description":2257},"useSigmaCamera","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-camera","docs\u002F3.composables\u002F07.use-sigma-camera","interaction","相机操作。缩放、复位、聚焦节点、避开浮层遮挡地容纳节点，以及图坐标到屏幕坐标的换算。",{"title":2259,"path":2260,"stem":2261,"category":2256,"description":2262},"useSigmaSelection","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-selection","docs\u002F3.composables\u002F08.use-sigma-selection","悬浮与选中的状态机，把焦点及其邻居写进 isHighlighted 状态，其余元素由库内规则淡出。",{"title":2264,"path":2265,"stem":2266,"category":2256,"description":2267},"useSigmaNeighborhood","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-neighborhood","docs\u002F3.composables\u002F09.use-sigma-neighborhood","以某节点为中心逐层扩散的 BFS 邻域计算，以及「点击展开」的远端增量合入。",{"title":2269,"path":2270,"stem":2271,"category":2256,"description":2272},"useSigmaDrag","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-drag","docs\u002F3.composables\u002F10.use-sigma-drag","把 sigma 的 enableNodeDrag 接进 Vue 的响应式，开关跟随 enabled，过程暴露为 dragged 与 isDragging。",{"title":2274,"path":2275,"stem":2276,"category":2256,"description":2277},"useSigmaSearch","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-search","docs\u002F3.composables\u002F11.use-sigma-search","按属性检索节点与边，结果随图变更自动重算，可把相机聚焦到命中项。",{"title":2279,"path":2280,"stem":2281,"category":2256,"description":2282},"useSigmaFilter","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-filter","docs\u002F3.composables\u002F12.use-sigma-filter","声明式过滤，落到 sigma 的 isHidden 状态上，不改动图数据本身。",{"title":2284,"path":2285,"stem":2286,"category":2256,"description":2287},"useSigmaLabelTiers","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-label-tiers","docs\u002F3.composables\u002F13.use-sigma-label-tiers","按相机比例分级显示标签，视野越广只留下越重要的那几档。",{"title":2289,"path":2290,"stem":2291,"category":2292,"description":2293},"useSigmaLayout","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-layout","docs\u002F3.composables\u002F14.use-sigma-layout","analysis","五种布局算法的统一入口，支持按连通分量分别布局，并托管 ForceAtlas2 与 Noverlap 的 worker 生命周期。",{"title":2295,"path":2296,"stem":2297,"category":2292,"description":2298},"useSigmaMetrics","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-metrics","docs\u002F3.composables\u002F15.use-sigma-metrics","图的度数、中心性与社区划分，按图版本缓存避免重复计算。",{"title":2300,"path":2301,"stem":2302,"category":2292,"description":2303},"useSigmaExport","\u002Fdocs\u002Fcomposables\u002Fuse-sigma-export","docs\u002F3.composables\u002F16.use-sigma-export","把当前画面导出为 PNG，可取 Blob 自行处理，也可直接触发浏览器下载。",{"title":2305,"category":2105,"description":2105,"icon":2306,"path":2307,"stem":2308,"children":2309,"page":7},"工具函数","i-lucide-wrench","\u002Fdocs\u002Futils","docs\u002F4.utils",[2310,2315,2320,2325,2330,2335],{"title":2311,"path":2312,"stem":2313,"category":2105,"description":2314},"applyGraphDiff","\u002Fdocs\u002Futils\u002Fapply-graph-diff","docs\u002F4.utils\u002F1.apply-graph-diff","把 SerializedGraph 增量同步到 graphology 实例，替代 clear() 加 import()，保留已有节点的布局坐标。",{"title":2316,"path":2317,"stem":2318,"category":2105,"description":2319},"composeStyles","\u002Fdocs\u002Futils\u002Fcompose-styles","docs\u002F4.utils\u002F2.compose-styles","按序拼接多份 styles 声明，让用户规则与 DEFAULT_STYLES 共存而不是互相顶掉。",{"title":2321,"path":2322,"stem":2323,"category":2105,"description":2324},"labelPlacements","\u002Fdocs\u002Futils\u002Flabel-placements","docs\u002F4.utils\u002F3.label-placements","给每个节点选一个背离邻居的标签方位，返回节点 key 到方位的映射表。",{"title":2326,"path":2327,"stem":2328,"category":2105,"description":2329},"degreeToTier","\u002Fdocs\u002Futils\u002Fdegree-to-tier","docs\u002F4.utils\u002F4.degree-to-tier","按度数排名给节点分标签档位，返回节点 key 到档位的映射表，档位越小越重要。",{"title":2331,"path":2332,"stem":2333,"category":2105,"description":2334},"sdfPolygon \u002F sdfStar","\u002Fdocs\u002Futils\u002Fsdf-shapes","docs\u002F4.utils\u002F5.sdf-shapes","把节点画成正多边形或星形的 SDF 形状声明，形状是与颜色正交的第二个编码维度。",{"title":2336,"path":2337,"stem":2338,"category":2105,"description":2339},"defineSigmaPrimitives","\u002Fdocs\u002Futils\u002Fdefine-sigma-primitives","docs\u002F4.utils\u002F6.define-sigma-primitives","声明一份延迟加载的渲染原语，绕开 sigma 在模块顶层读取 WebGL 全局导致的 SSR 崩溃。",{"data":2341,"body":2342},{},{"type":153,"children":2343},[2344],{"type":156,"tag":157,"props":2345,"children":2346},{},[2347,2349],{"type":161,"value":2348},"Copyright © 2026 - 2026 YiXuan - ",{"type":156,"tag":202,"props":2350,"children":2353},{"className":2351},[2352],"text-highlighted",[2354],{"type":161,"value":2355},"MIT License",[2357,2358],{"title":2188,"path":2189,"stem":2190,"description":2191,"children":-1},{"title":536,"path":2194,"stem":2195,"description":2196,"children":-1},1795515184418,"63cc32bb-ed0d-4a02-83fd-40ba6fe4b04e"]