Browse Source

Merge pull request #1046 from Tooa/improve-scaling-doc

Improved documentation for node and edge scaling properties
flowchartTest
Alex 9 years ago
parent
commit
ec4798b959
2 changed files with 6 additions and 2 deletions
  1. +3
    -1
      docs/network/edges.html
  2. +3
    -1
      docs/network/nodes.html

+ 3
- 1
docs/network/edges.html View File

@ -521,6 +521,8 @@ var scale = customScalingFunction(min,max,total,value);
var diff = maxWidth - minWidth;
myWidth = minWidth + diff * scale;
</pre>
Please note: <code>maxWidth</code> and <code>minWidth</code> are the values <code>scaling.max</code>
and <code>scaling.min</code> provided in the options.
</td>
</tr>
<tr>
@ -657,4 +659,4 @@ var options: {
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="../js/ie10-viewport-bug-workaround.js"></script>
<script src="../js/ie10-viewport-bug-workaround.js"></script>

+ 3
- 1
docs/network/nodes.html View File

@ -542,6 +542,8 @@ var scale = customScalingFunction(min,max,total,value);
var diff = maxSize - minSize;
mySize = minSize + diff * scale;
</pre>
Please note: <code>maxSize</code> and <code>minSize</code> are the values <code>scaling.max</code>
and <code>scaling.min</code> provided in the options.
</td>
</tr>
<tr class='toggle collapsible' onclick="toggleTable('optionTable','shadow', this);">
@ -644,4 +646,4 @@ mySize = minSize + diff * scale;
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="../js/ie10-viewport-bug-workaround.js"></script>
<script src="../js/ie10-viewport-bug-workaround.js"></script>

Loading…
Cancel
Save