Browse Source

updated example, updated history

v3_develop
Alex de Mulder 10 years ago
parent
commit
297c74f846
2 changed files with 3 additions and 2 deletions
  1. +1
    -0
      HISTORY.md
  2. +2
    -2
      examples/network/10_multiline_text.html

+ 1
- 0
HISTORY.md View File

@ -13,6 +13,7 @@ http://visjs.org
- Fixed some positioning issues with the close button of the manipulation menu. - Fixed some positioning issues with the close button of the manipulation menu.
- Added fontFill to Nodes as it is in Edges. - Added fontFill to Nodes as it is in Edges.
- Implemented support for broken image fallback. Thanks @sfairgrieve. - Implemented support for broken image fallback. Thanks @sfairgrieve.
- Added multiline labels to edges as they are implemented in nodes. Updated multiline example to show this.
### Timeline ### Timeline

+ 2
- 2
examples/network/10_multiline_text.html View File

@ -29,8 +29,8 @@
var edges = [ var edges = [
{from: 1, to: 2, style: 'line', color: 'red', width: 3, length: 200}, // individual length definition is possible {from: 1, to: 2, style: 'line', color: 'red', width: 3, length: 200}, // individual length definition is possible
{from: 1, to: 3, style: 'dash-line', width: 1, length: 200}, {from: 1, to: 3, style: 'dash-line', width: 1, length: 200},
{from: 1, to: 4, style: 'line', width: 1, length: 200},
{from: 1, to: 5, style: 'arrow', width: 3, length: 200}
{from: 1, to: 4, style: 'line', width: 1, length: 200, label:'I\'m an edge!'},
{from: 1, to: 5, style: 'arrow', width: 3, length: 200, label:'arrows\nare cool'}
]; ];
// create a network // create a network

Loading…
Cancel
Save