Browse Source

added arrow-type docs; #1993

codeClimate
Alexander Wunschik 8 years ago
parent
commit
37c595e906
1 changed files with 10 additions and 4 deletions
  1. +10
    -4
      docs/network/edges.html

+ 10
- 4
docs/network/edges.html View File

@ -115,9 +115,9 @@
var options = { var options = {
edges:{ edges:{
arrows: { arrows: {
to: {enabled: false, scaleFactor:1},
middle: {enabled: false, scaleFactor:1},
from: {enabled: false, scaleFactor:1}
to: {enabled: false, scaleFactor:1, type:'arrow'},
middle: {enabled: false, scaleFactor:1, type:'arrow'},
from: {enabled: false, scaleFactor:1, type:'arrow'}
}, },
arrowStrikethrough: true, arrowStrikethrough: true,
color: { color: {
@ -243,6 +243,12 @@ network.setOptions(options);
<td><code>1</code></td> <td><code>1</code></td>
<td>The scale factor allows you to change the size of the arrowhead.</td> <td>The scale factor allows you to change the size of the arrowhead.</td>
</tr> </tr>
<tr parent="arrows" class="hidden">
<td class="indent2">arrows.to.type</td>
<td>String</td>
<td><code>arrow</code></td>
<td>The type of endpoint. Default is <code>arrow</code>. Also possible is <code>circle</code>.</td>
</tr>
<tr parent="arrows" class="hidden"> <tr parent="arrows" class="hidden">
<td class="indent">arrows.middle</td> <td class="indent">arrows.middle</td>
<td>Object or Boolean</td> <td>Object or Boolean</td>
@ -703,4 +709,4 @@ var options: {
<script src="../js/tipuesearch.config.js"></script> <script src="../js/tipuesearch.config.js"></script>
<script src="../js/tipuesearch.js"></script> <script src="../js/tipuesearch.js"></script>
<!-- controller --> <!-- controller -->
<script src="../js/main.js"></script>
<script src="../js/main.js"></script>

Loading…
Cancel
Save