[{"data":1,"prerenderedAt":220},["ShallowReactive",2],{"/nw/generate-wheel":3,"/nw/generate-wheel-surround":209},{"id":4,"title":5,"body":6,"description":175,"extension":176,"meta":177,"navigation":195,"path":205,"seo":206,"stem":207,"__hash__":208},"content/nw/generate-wheel.md","Networks Extension Dictionary: generate-wheel",{"type":7,"value":8,"toc":164},"minimark",[9],[10,11,15,16,15,26,57,61,76,92,95,118,124],"div",{"className":12,"id":14},[13],"dict_entry","generate-wheel","\n  ",[17,18,20,21,15],"h3",{"id":19},"nwgenerate-wheel","\n    ",[22,23,25],"a",{"href":24},"#generate-wheel","nw:generate-wheel",[27,28,32],"h4",{"id":29,"className":30},"nwgenerate-wheel-turtle-breed-link-breed-num-nodes-optional-command-block",[31],"section-heading",[22,33,20,37,15],{"className":34,"href":36},[35],"section-anchor","#----nwgenerate-wheel-turtle-breed-link-breed-num-nodes-optional-command-block--",[38,39,42,43,47,48,47,51,47,54],"span",{"className":40},[41],"prim_example","nw:generate-wheel ",[44,45,46],"i",{},"turtle-breed"," ",[44,49,50],{},"link-breed",[44,52,53],{},"num-nodes",[44,55,56],{},"optional-command-block",[58,59,60],"p",{},"Variants:",[62,63,64,71],"ul",{},[65,66,67],"li",{},[68,69,70],"code",{},"nw:generate-wheel-inward",[65,72,73],{},[68,74,75],{},"nw:generate-wheel-outward",[58,77,78,79,85,86,91],{},"Generates a ",[22,80,84],{"href":81,"rel":82},"https://en.wikipedia.org/wiki/Wheel_graph",[83],"nofollow","wheel network",", which is basically a ",[22,87,90],{"href":88,"rel":89},"https://en.wikipedia.org/wiki/Ring_network",[83],"ring network"," with an additional “central” turtle that is connected to every other turtle.",[58,93,94],{},"The number of nodes must be at least four.",[58,96,97,98,100,101,103,104,106,107,110,111,103,114,117],{},"The ",[68,99,25],{}," only works with undirected link breeds. The ",[68,102,70],{}," and ",[68,105,75],{}," versions only work with directed ",[108,109,50],"em",{},". The ",[68,112,113],{},"inward",[68,115,116],{},"outward"," part of the primitive names refer to the direction that the “spokes” of the wheel point to relative to the central turtle.",[58,119,120,121,123],{},"If you specify an ",[108,122,56],{},", it is executed for each turtle in the newly created network. For example:",[125,126,127],"pre",{},[68,128,129,47,134,47,139,47,143,148,149,47,154,47,158,163],{},[38,130,25],{"className":131},[132,133],"token","variable",[38,135,138],{"className":136},[132,137],"reporter","turtles",[38,140,142],{"className":141},[132,137],"links",[38,144,147],{"className":145},[132,146],"number","100"," [ ",[38,150,153],{"className":151},[132,152],"command","set",[38,155,157],{"className":156},[132,137],"color",[38,159,162],{"className":160},[132,161],"constant","red"," ]",{"title":165,"searchDepth":166,"depth":167,"links":168},"",5,3,[169],{"id":19,"depth":167,"text":170,"children":171},"\n    nw:generate-wheel\n  ",[172],{"id":29,"depth":173,"text":174},4,"\n    nw:generate-wheel turtle-breed link-breed num-nodes optional-command-block\n  ","Documentation for the generate-wheel primitive.","md",{"source":178,"metadataOutputPath":179,"projectConfig":180,"language":188,"inheritFrom":196,"output":195,"version":181,"layout":197,"dictionaryDisplayName":198,"dictionaryHomeDirectory":199,"indexFileURI":200,"currentItemId":14,"currentItemLabel":25,"primRoot":201,"icon":202,"extensionName":203,"assetsRoot":183},"../../external/extensions/nw/nw/generate-wheel.md","content/nw/generate-wheel.metadata.yaml",{"version":181,"projectRoot":182,"scanRoot":183,"outputRoot":184,"defaults":185,"engine":191,"partials":192,"dedupeIdenticalDiskWrites":195},"7.0.4",".","/home/runner/work/Helio/Helio/external/extensions/nw","content",{"inheritFrom":186,"language":188,"output":189,"extension":176,"title":190,"version":181},[187],0,"en",false,"NetLogo User Manual","mustache",{"directoryPaths":193,"extensions":194},[182],[191,176],true,[187],"catalog","Networks Extension Dictionary","/nw.html","/_index/extensions/nw.txt","nw","i-lucide-network",{"shortName":201,"fullName":204},"Networks","/nw/generate-wheel",{"title":5,"description":175},"nw/generate-wheel","0sPnrffRuC-9O0pr_CdBAdMH-ycIKZQ7ngtsvXRg3Q0",[210,215],{"title":211,"path":212,"stem":213,"description":214},"Networks Extension Dictionary: generate-watts-strogatz","/nw/generate-watts-strogatz","nw/generate-watts-strogatz","Documentation for the generate-watts-strogatz primitive.",{"title":216,"path":217,"stem":218,"description":219},"Networks Extension Dictionary: get-context","/nw/get-context","nw/get-context","Documentation for the get-context primitive.",1777657883642]