Skip to content

Commit d978757

Browse files
committed
Convert Extension Examples to new sizes
1 parent 0c7d9dc commit d978757

33 files changed

Lines changed: 479 additions & 479 deletions

Code Examples/Extensions Examples/csv/CSV Example.nlogox

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ end
5858
; copyright and related or neighboring rights to this model.</code>
5959
<widgets>
6060
<view x="210" wrappingAllowedX="true" y="10" frameRate="30.0" minPycor="-16" height="433" showTickCounter="true" patchSize="13.0" fontSize="10" wrappingAllowedY="true" width="433" tickCounterLabel="ticks" maxPycor="16" updateMode="1" maxPxcor="16" minPxcor="-16"></view>
61-
<button x="10" y="10" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="190" sizeVersion="0">setup</button>
62-
<button x="10" y="135" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="190" sizeVersion="0">write-turtles-to-csv</button>
63-
<button x="10" y="100" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="190" sizeVersion="0">generate-turtles</button>
64-
<note x="50" y="55" height="31" backgroundDark="0" fontSize="14" width="200" markdown="false" textColorLight="-16777216" backgroundLight="0">Reading/Writing
61+
<button x="10" y="10" height="40" disableUntilTicks="false" forever="false" kind="Observer" width="190">setup</button>
62+
<button x="10" y="152" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="190">write-turtles-to-csv</button>
63+
<button x="10" y="107" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="190">generate-turtles</button>
64+
<note x="50" y="62" backgroundDark="0" fontSize="14" width="200" markdown="false" height="31" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Reading/Writing
6565
Turtle Data
6666
</note>
67-
<button x="10" y="205" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="190" sizeVersion="0">read-turtles-from-csv</button>
68-
<button x="10" y="170" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="190" sizeVersion="0">ask turtles [ die ]</button>
67+
<button x="10" y="242" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="190">read-turtles-from-csv</button>
68+
<button x="10" y="197" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="190">ask turtles [ die ]</button>
6969
</widgets>
7070
<info><![CDATA[## WHAT IS IT?
7171

Code Examples/Extensions Examples/gis/GIS General Examples.nlogox

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -315,41 +315,41 @@ end
315315
; copyright and related or neighboring rights to this model.]]></code>
316316
<widgets>
317317
<view x="185" wrappingAllowedX="true" y="10" frameRate="30.0" minPycor="-36" height="296" showTickCounter="true" patchSize="4.0" fontSize="8" wrappingAllowedY="true" width="584" tickCounterLabel="ticks" maxPycor="36" updateMode="0" maxPxcor="72" minPxcor="-72"></view>
318-
<button x="5" y="100" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="170" sizeVersion="0">draw-cities</button>
319-
<button x="5" y="180" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="170" sizeVersion="0">draw-countries</button>
320-
<button x="5" y="60" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="170" sizeVersion="0">setup
318+
<button x="5" y="122" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="170">draw-cities</button>
319+
<button x="5" y="216" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="170">draw-countries</button>
320+
<button x="5" y="75" height="40" disableUntilTicks="false" forever="false" kind="Observer" width="170">setup
321321
</button>
322-
<button x="5" y="140" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="170" sizeVersion="0">draw-rivers</button>
323-
<button x="200" y="340" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="190" sizeVersion="0">display-rivers-in-patches</button>
324-
<button x="200" y="380" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="190" sizeVersion="0">display-population-in-patches</button>
325-
<button x="200" y="460" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="190" sizeVersion="0">draw-us-rivers-in-green</button>
326-
<button x="200" y="500" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="190" sizeVersion="0">draw-large-cities</button>
327-
<chooser x="5" y="10" height="45" variable="projection" current="0" display="projection" width="170" sizeVersion="0">
322+
<button x="5" y="169" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="170">draw-rivers</button>
323+
<chooser x="5" y="10" height="60" variable="projection" current="0" width="170" display="projection">
328324
<choice type="string" value="WGS_84_Geographic"></choice>
329325
<choice type="string" value="US_Orthographic"></choice>
330326
<choice type="string" value="Lambert_Conformal_Conic"></choice>
331327
</chooser>
332-
<button x="405" y="340" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="185" sizeVersion="0">display-elevation</button>
333-
<button x="405" y="420" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="185" sizeVersion="0">sample-elevation-with-patches</button>
334-
<button x="405" y="380" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="185" sizeVersion="0">display-elevation-in-patches</button>
335-
<button x="405" y="500" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="185" sizeVersion="0">match-cells-to-patches</button>
336-
<button x="405" y="460" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="185" sizeVersion="0">display-gradient-in-patches</button>
337-
<button x="5" y="265" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="170" sizeVersion="0">clear-drawing</button>
338-
<button x="605" y="340" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="185" sizeVersion="0">download-background-image</button>
339-
<button x="5" y="340" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="180" sizeVersion="0">make-city-turtles</button>
340-
<button x="5" y="380" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="180" sizeVersion="0">highlight-large-city-turtles</button>
341-
<button x="5" y="460" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="180" sizeVersion="0">create-citizens-in-countries</button>
342-
<button x="5" y="420" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="180" sizeVersion="0">draw/clear-city-turtle-labels</button>
343-
<button x="5" y="220" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="170" sizeVersion="0">draw/clear-country-labels</button>
344-
<note x="30" y="320" height="18" backgroundDark="0" fontSize="11" width="150" markdown="false" textColorLight="-16777216" backgroundLight="0"><![CDATA[Vector Data -> Turtles]]></note>
345-
<note x="230" y="320" height="18" backgroundDark="0" fontSize="11" width="150" markdown="false" textColorLight="-16777216" backgroundLight="0"><![CDATA[Vector Data -> Patches]]></note>
346-
<note x="465" y="320" height="18" backgroundDark="0" fontSize="11" width="150" markdown="false" textColorLight="-16777216" backgroundLight="0">Raster Data</note>
347-
<note x="680" y="320" height="18" backgroundDark="0" fontSize="11" width="150" markdown="false" textColorLight="-16777216" backgroundLight="0">Misc.</note>
348-
<note x="230" y="435" height="18" backgroundDark="0" fontSize="11" width="150" markdown="false" textColorLight="-16777216" backgroundLight="0">Filtering Vector Datasets</note>
349-
<input x="605" multiline="false" y="380" height="75" variable="lat" type="number" width="85" sizeVersion="0">42.055</input>
350-
<input x="705" multiline="false" y="380" height="75" variable="lon" type="number" width="85" sizeVersion="0">-87.671</input>
351-
<button x="605" y="460" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="185" sizeVersion="0">create-turtle-at-lat-lon</button>
352-
<slider x="5" step="1" y="500" max="100" display="num-citizens-to-create" height="33" min="0" direction="Horizontal" default="50.0" variable="num-citizens-to-create" width="180" sizeVersion="0"></slider>
328+
<button x="5" y="313" height="40" disableUntilTicks="false" forever="false" kind="Observer" width="170">clear-drawing</button>
329+
<button x="5" y="395" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="180">make-city-turtles</button>
330+
<button x="5" y="263" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="170">draw/clear-country-labels</button>
331+
<note x="30" y="375" backgroundDark="0" fontSize="11" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0"><![CDATA[Vector Data -> Turtles]]></note>
332+
<slider x="5" step="1" y="583" max="100" width="180" display="num-citizens-to-create" height="50" min="0" direction="Horizontal" default="50.0" variable="num-citizens-to-create"></slider>
333+
<note x="230" y="375" backgroundDark="0" fontSize="11" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0"><![CDATA[Vector Data -> Patches]]></note>
334+
<button x="605" y="525" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="185">create-turtle-at-lat-lon</button>
335+
<note x="680" y="375" backgroundDark="0" fontSize="11" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Misc.</note>
336+
<note x="465" y="375" backgroundDark="0" fontSize="11" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Raster Data</note>
337+
<button x="605" y="395" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="185">download-background-image</button>
338+
<button x="405" y="583" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="185">match-cells-to-patches</button>
339+
<button x="405" y="395" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="185">display-elevation</button>
340+
<button x="200" y="442" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="190">display-population-in-patches</button>
341+
<button x="200" y="395" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="190">display-rivers-in-patches</button>
342+
<button x="5" y="442" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="180">highlight-large-city-turtles</button>
343+
<button x="405" y="442" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="185">display-elevation-in-patches</button>
344+
<input x="605" multiline="false" y="442" height="75" variable="lat" type="number" width="100">42.055</input>
345+
<input x="720" multiline="false" y="442" height="75" variable="lon" type="number" width="100">-87.671</input>
346+
<button x="5" y="489" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="180">draw/clear-city-turtle-labels</button>
347+
<button x="405" y="489" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="185">sample-elevation-with-patches</button>
348+
<button x="5" y="536" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="180">create-citizens-in-countries</button>
349+
<button x="200" y="535" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="190">draw-us-rivers-in-green</button>
350+
<button x="405" y="535" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="185">display-gradient-in-patches</button>
351+
<button x="200" y="583" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="190">draw-large-cities</button>
352+
<note x="230" y="515" backgroundDark="0" fontSize="11" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Filtering Vector Datasets</note>
353353
</widgets>
354354
<info><![CDATA[## WHAT IS IT?
355355

Code Examples/Extensions Examples/gis/GIS Gradient Example.nlogox

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ end
5555
; To the extent possible under law, Uri Wilensky has waived all
5656
; copyright and related or neighboring rights to this model.]]></code>
5757
<widgets>
58-
<view x="10" wrappingAllowedX="false" y="50" frameRate="30.0" minPycor="0" height="490" showTickCounter="true" patchSize="6.0" fontSize="10" wrappingAllowedY="false" width="490" tickCounterLabel="ticks" maxPycor="80" updateMode="1" maxPxcor="80" minPxcor="0"></view>
59-
<button x="10" y="10" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="60" sizeVersion="0">setup</button>
60-
<button x="80" y="10" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="60" sizeVersion="0">go</button>
61-
<button x="150" y="10" height="33" disableUntilTicks="true" forever="false" kind="Observer" display="display-slope" width="100" sizeVersion="0">gis:paint slope 0</button>
62-
<button x="260" y="10" height="33" disableUntilTicks="true" forever="false" kind="Observer" display="display-aspect" width="110" sizeVersion="0">gis:paint aspect 0</button>
63-
<button x="380" y="10" height="33" disableUntilTicks="true" forever="false" kind="Observer" display="display-elevation" width="120" sizeVersion="0">gis:paint elevation 0</button>
58+
<view x="10" wrappingAllowedX="false" y="57" frameRate="30.0" minPycor="0" height="490" showTickCounter="true" patchSize="6.0" fontSize="10" wrappingAllowedY="false" width="490" tickCounterLabel="ticks" maxPycor="80" updateMode="1" maxPxcor="80" minPxcor="0"></view>
59+
<button x="10" y="10" height="40" disableUntilTicks="false" forever="false" kind="Observer" width="60">setup</button>
60+
<button x="80" y="10" height="40" disableUntilTicks="true" forever="true" kind="Observer" width="60">go</button>
61+
<button x="150" y="10" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="100" display="display-slope">gis:paint slope 0</button>
62+
<button x="260" y="10" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="110" display="display-aspect">gis:paint aspect 0</button>
63+
<button x="380" y="10" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="120" display="display-elevation">gis:paint elevation 0</button>
6464
</widgets>
6565
<info><![CDATA[## WHAT IS IT?
6666

0 commit comments

Comments
 (0)