[{"data":1,"prerenderedAt":389},["ShallowReactive",2],{"/dict/layout-tutte":3,"/dict/layout-tutte-surround":378},{"id":4,"title":5,"body":6,"description":344,"extension":345,"meta":346,"navigation":365,"path":374,"seo":375,"stem":376,"__hash__":377},"content/dict/layout-tutte.md","NetLogo Dictionary: layout-tutte",{"type":7,"value":8,"toc":333},"minimark",[9],[10,11,16,35,65,77,83,86,89,92],"div",{"className":12,"id":14,"role":15},[13],"dict_entry","layout-tutte","region",[17,18,20],"h3",{"id":19},"layout-tutte40",[21,22,26,27],"a",{"href":23,"role":24,"ariaLabel":25},"#layout-tutte","doc-noteref","Reference to layout-tutte","\nlayout-tutte\n",[28,29,34],"span",{"className":30,"role":32,"ariaLabel":33},[31],"since","note","Since version","\n4.0\n",[36,37,41],"h4",{"id":38,"className":39},"layout-tutte-turtle-set-link-set-radius",[40],"section-heading",[21,42,46],{"className":43,"href":45},[44],"section-anchor","#layout-tutte-turtle-set-link-set-radius",[28,47,50],{"className":48},[49],"prim_example",[51,52,53,54,58,59,58,62],"p",{},"layout-tutte ",[55,56,57],"em",{},"turtle-set"," ",[55,60,61],{},"link-set",[55,63,64],{},"radius",[51,66,67,68,70,71,73,74,76],{},"The turtles that are connected by links in ",[55,69,61],{}," but not\nincluded in ",[55,72,57],{}," are placed in a circle layout with\nthe given ",[55,75,64],{},". There should be at least 3 agents in this\nagentset.",[51,78,79,80,82],{},"The turtles in ",[55,81,57],{}," are then laid out in the following\nmanner: Each turtle is placed at centroid (or barycenter) of the\npolygon formed by its linked neighbors. (The centroid is like a\n2-dimensional average of the coordinates of the neighbors.)",[51,84,85],{},"(The purpose of the circle of “anchor agents” is to\nprevent all the turtles from collapsing down to one point.)",[51,87,88],{},"After a few iterations of this, the layout will stabilize.",[51,90,91],{},"This layout is named after the mathematician William Thomas Tutte,\nwho proposed it as a method for graph layout.",[93,94,95],"pre",{},[96,97,98,58,104,109,112,113,58,118,58,123,128,112,130,58,134,139,112,141,58,145,58,149,153,154,156,157,58,161,58,164,168,156,170,58,173,58,176,180,156,182,58,185,58,188,192,194,195,112,197,58,200,58,203,153,206,156,208,58,211,58,214,218,156,220,58,223,58,226,230,156,232,58,235,58,238,242,156,244,58,247,58,250,254,194,256,112,258,263,112,265,269,112,271,275,112,277,281,112,283,58,287,291,292,295,296,58,299,153,303,58,307,58,311,58,315,318,319,58,323,326,327],"code",{},[28,99,103],{"className":100},[101,102],"token","keyword","to",[28,105,108],{"className":106},[101,107],"variable","make-a-tree",[110,111],"br",{},"  ",[28,114,117],{"className":115},[101,116],"command","set-default-shape",[28,119,122],{"className":120},[101,121],"reporter","turtles",[28,124,127],{"className":125},[101,126],"string","\"circle\"",[110,129],{},[28,131,133],{"className":132},[101,116],"crt",[28,135,138],{"className":136},[101,137],"number","8",[110,140],{},[28,142,144],{"className":143},[101,116],"ask",[28,146,148],{"className":147},[101,121],"turtle",[28,150,152],{"className":151},[101,137],"0"," [",[110,155],{},"    ",[28,158,160],{"className":159},[101,116],"create-link-with",[28,162,148],{"className":163},[101,121],[28,165,167],{"className":166},[101,137],"1",[110,169],{},[28,171,160],{"className":172},[101,116],[28,174,148],{"className":175},[101,121],[28,177,179],{"className":178},[101,137],"2",[110,181],{},[28,183,160],{"className":184},[101,116],[28,186,148],{"className":187},[101,121],[28,189,191],{"className":190},[101,137],"3",[110,193],{},"  ]",[110,196],{},[28,198,144],{"className":199},[101,116],[28,201,148],{"className":202},[101,121],[28,204,167],{"className":205},[101,137],[110,207],{},[28,209,160],{"className":210},[101,116],[28,212,148],{"className":213},[101,121],[28,215,217],{"className":216},[101,137],"4",[110,219],{},[28,221,160],{"className":222},[101,116],[28,224,148],{"className":225},[101,121],[28,227,229],{"className":228},[101,137],"5",[110,231],{},[28,233,160],{"className":234},[101,116],[28,236,148],{"className":237},[101,121],[28,239,241],{"className":240},[101,137],"6",[110,243],{},[28,245,160],{"className":246},[101,116],[28,248,148],{"className":249},[101,121],[28,251,253],{"className":252},[101,137],"7",[110,255],{},[110,257],{},[28,259,262],{"className":260},[101,261],"comment","; place all the turtles with just one",[110,264],{},[28,266,268],{"className":267},[101,261],"; neighbor on the perimeter of a circle",[110,270],{},[28,272,274],{"className":273},[101,261],"; and then place the remaining turtles inside",[110,276],{},[28,278,280],{"className":279},[101,261],"; this circle, spread between their neighbors.",[110,282],{},[28,284,286],{"className":285},[101,116],"repeat",[28,288,290],{"className":289},[101,137],"10"," [ ",[28,293,14],{"className":294},[101,116]," (",[28,297,122],{"className":298},[101,121],[28,300,302],{"className":301},[101,121],"with",[28,304,306],{"className":305},[101,121],"count",[28,308,310],{"className":309},[101,121],"link-neighbors",[28,312,314],{"className":313},[101,121],">",[28,316,167],{"className":317},[101,137],"]) ",[28,320,322],{"className":321},[101,121],"links",[28,324,138],{"className":325},[101,137]," ]",[28,328,330,332],{"className":329},[101,102],[110,331],{},"end",{"title":334,"searchDepth":335,"depth":336,"links":337},"",5,3,[338],{"id":19,"depth":336,"text":339,"children":340},"\nlayout-tutte\n\n4.0\n",[341],{"id":38,"depth":342,"text":343},4,"layout-tutte turtle-set link-set radius","Documentation for the layout-tutte primitive.","md",{"source":347,"metadataOutputPath":348,"projectConfig":349,"language":357,"inheritFrom":366,"output":365,"version":350,"layout":367,"dictionaryDisplayName":368,"dictionaryHomeDirectory":369,"indexFileURI":370,"currentItemId":14,"currentItemLabel":14,"primRoot":371,"icon":372,"assetsRoot":373},"autogen/dict/layout-tutte.md","content/dict/layout-tutte.metadata.yaml",{"version":350,"projectRoot":351,"scanRoot":352,"outputRoot":353,"defaults":354,"engine":360,"partials":361,"dedupeIdenticalDiskWrites":365},"7.0.4",".","autogen","content",{"inheritFrom":355,"language":357,"output":358,"extension":345,"title":359,"version":350},[356],0,"en",false,"NetLogo User Manual","handlebars",{"directoryPaths":362,"extensions":363},[351],[364,345],"mustache",true,[356],"catalog","NetLogo Dictionary","/dictionary.html","/_index/dict.txt","dict","i-lucide-square-code","/home/runner/work/Helio/Helio/apps/docs/autogen","/dict/layout-tutte",{"title":5,"description":344},"dict/layout-tutte","sgN3hmn2_0Jkpb_tZXKs-pNQWhKIMByMFYr_YiqQzmg",[379,384],{"title":380,"path":381,"stem":382,"description":383},"NetLogo Dictionary: layout-spring","/dict/layout-spring","dict/layout-spring","Documentation for the layout-spring primitive.",{"title":385,"path":386,"stem":387,"description":388},"NetLogo Dictionary: left","/dict/left","dict/left","Documentation for the left primitive.",1777657818406]