Skip to content
This repository was archived by the owner on Jul 29, 2019. It is now read-only.

Commit 30620e4

Browse files
committed
improved shape example with a ellipse with long label text; see #2011
1 parent dd3639f commit 30620e4

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

examples/network/nodeStyles/shapes.html

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,16 @@
3434
{id: 11, label: 'star', shape: 'star'},
3535
{id: 21, font:{size:30}, label: 'big circle', shape: 'circle' },
3636
{id: 22, font:{size:30}, label: 'big ellipse', shape: 'ellipse'},
37-
{id: 23, font:{size:30}, label: 'big database',shape: 'database'},
38-
{id: 24, font:{size:30}, label: 'big box', shape: 'box' },
39-
{id: 25, font:{size:30}, size:40, label: 'big diamond', shape: 'diamond'},
40-
{id: 26, font:{size:30}, size:40, label: 'big dot', shape: 'dot'},
41-
{id: 27, font:{size:30}, size:40, label: 'big square', shape: 'square'},
42-
{id: 28, font:{size:30}, size:40, label: 'big triangle',shape: 'triangle'},
43-
{id: 29, font:{size:30}, size:40, label: 'big triangleDown', shape: 'triangleDown'},
44-
{id: 30, font:{size:30}, label: 'big text', shape: 'text'},
45-
{id: 31, font:{size:30}, size:40, label: 'big star', shape: 'star'}
37+
{id: 23, font:{size:30}, label: 'ellipse with a long label text', shape: 'ellipse'},
38+
{id: 24, font:{size:30}, label: 'big database',shape: 'database'},
39+
{id: 25, font:{size:30}, label: 'big box', shape: 'box' },
40+
{id: 26, font:{size:30}, size:40, label: 'big diamond', shape: 'diamond'},
41+
{id: 27, font:{size:30}, size:40, label: 'big dot', shape: 'dot'},
42+
{id: 28, font:{size:30}, size:40, label: 'big square', shape: 'square'},
43+
{id: 29, font:{size:30}, size:40, label: 'big triangle',shape: 'triangle'},
44+
{id: 30, font:{size:30}, size:40, label: 'big triangleDown', shape: 'triangleDown'},
45+
{id: 31, font:{size:30}, label: 'big text', shape: 'text'},
46+
{id: 32, font:{size:30}, size:40, label: 'big star', shape: 'star'}
4647
];
4748

4849
edges = [

0 commit comments

Comments
 (0)