Browse Source

Update documentation for PR #1256

codeClimate
Coleman Kane 9 years ago
parent
commit
e39f3af148
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      docs/network/nodes.html

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

@ -133,7 +133,8 @@ var options = {
background: 'none',
strokeWidth: 0, // px
strokeColor: '#ffffff',
align: 'horizontal'
align: 'horizontal',
textAlign: 'center'
},
group: undefined,
hidden: false,
@ -370,6 +371,13 @@ network.setOptions(options);
<td><code>'#ffffff'</code></td>
<td>This is the color of the stroke <i>assuming the value for stroke is higher than 0</i>.</td>
</tr>
<tr parent="font" class="hidden">
<td class="indent">font.textAlign</td>
<td>String</td>
<td><code>'center'</code></td>
<td>If shape is box, this can be set to 'left' to make the label left-aligned. Otherwise,
defaults/resets to 'center'.</td>
</tr>
<tr>
<td>group</td>
<td>String</td>

Loading…
Cancel
Save