|
@ -133,7 +133,8 @@ var options = { |
|
|
background: 'none', |
|
|
background: 'none', |
|
|
strokeWidth: 0, // px |
|
|
strokeWidth: 0, // px |
|
|
strokeColor: '#ffffff', |
|
|
strokeColor: '#ffffff', |
|
|
align: 'horizontal' |
|
|
|
|
|
|
|
|
align: 'horizontal', |
|
|
|
|
|
textAlign: 'center' |
|
|
}, |
|
|
}, |
|
|
group: undefined, |
|
|
group: undefined, |
|
|
hidden: false, |
|
|
hidden: false, |
|
@ -370,6 +371,13 @@ network.setOptions(options); |
|
|
<td><code>'#ffffff'</code></td> |
|
|
<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> |
|
|
<td>This is the color of the stroke <i>assuming the value for stroke is higher than 0</i>.</td> |
|
|
</tr> |
|
|
</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> |
|
|
<tr> |
|
|
<td>group</td> |
|
|
<td>group</td> |
|
|
<td>String</td> |
|
|
<td>String</td> |
|
|