2 Commits

Author SHA1 Message Date
Pitchaya Boonsarngsuk
7ac1fb1ebc แก้ ลืมเปลี่ยนจำนวน its ใน js 2018-03-22 18:00:21 +00:00
Pitchaya Boonsarngsuk
e6073a86d3 Lower range of iterations 2018-03-22 17:44:00 +00:00
2 changed files with 3 additions and 3 deletions

View File

@@ -101,8 +101,8 @@
<br/> <br/>
<label title="Number of iterations before the simulation is stopped"> <label title="Number of iterations before the simulation is stopped">
Iterations Iterations
<output id="iterationsSliderOutput">300</output> <output id="iterationsSliderOutput">100</output>
<input type="range" min="5" max="5000" value="300" step="5" oninput="d3.select('#iterationsSliderOutput').text(value); ITERATIONS=value;"> <input type="range" min="5" max="1000" value="100" step="5" oninput="d3.select('#iterationsSliderOutput').text(value); ITERATIONS=value;">
</label> </label>
<br/> <br/>
<label title="Attribute used for coloring nodes"> <label title="Attribute used for coloring nodes">

View File

@@ -54,7 +54,7 @@ var MULTIPLIER = 50,
SAMPLE_SIZE = 10, SAMPLE_SIZE = 10,
PIVOTS = false, PIVOTS = false,
NUM_PIVOTS = 3, NUM_PIVOTS = 3,
ITERATIONS = 300, ITERATIONS = 100,
FULL_ITERATIONS = 20, FULL_ITERATIONS = 20,
NODE_SIZE = 10, NODE_SIZE = 10,
COLOR_ATTRIBUTE = '', COLOR_ATTRIBUTE = '',