Browse Source

Network: Add new Hexagon shape to shape examples (#3577)

This shape was added recently and was not showcased anywhere. Hereby added.
mbroad/code-climate-coverage-develop
wimrijnders 7 years ago
committed by Yotam Berkowitz
parent
commit
eedd022ac2
2 changed files with 4 additions and 1 deletions
  1. +3
    -1
      examples/network/nodeStyles/shapes.html
  2. +1
    -0
      examples/network/nodeStyles/shapesWithDashedBorders.html

+ 3
- 1
examples/network/nodeStyles/shapes.html View File

@ -32,6 +32,7 @@
{id: 9, label: 'triangleDown', shape: 'triangleDown'},
{id: 10, label: 'text', shape: 'text'},
{id: 11, label: 'star', shape: 'star'},
{id: 12, label: 'hexagon', shape: 'hexagon'},
{id: 21, font:{size:30}, label: 'big circle', shape: 'circle' },
{id: 22, font:{size:30}, label: 'big ellipse', shape: 'ellipse'},
{id: 23, font:{size:30}, label: 'ellipse with a long label text', shape: 'ellipse'},
@ -43,7 +44,8 @@
{id: 29, font:{size:30}, size:40, label: 'big triangle',shape: 'triangle'},
{id: 30, font:{size:30}, size:40, label: 'big triangleDown', shape: 'triangleDown'},
{id: 31, font:{size:30}, label: 'big text', shape: 'text'},
{id: 32, font:{size:30}, size:40, label: 'big star', shape: 'star'}
{id: 32, font:{size:30}, size:40, label: 'big star', shape: 'star'},
{id: 33, font:{size:30}, size:40, label: 'big hexagon', shape: 'hexagon'},
];
edges = [

+ 1
- 0
examples/network/nodeStyles/shapesWithDashedBorders.html View File

@ -32,6 +32,7 @@
{id: 9, font:{size:30}, size:40, label: 'triangleDown', shape: 'triangleDown', shapeProperties:{borderDashes:[5,5]}},
{id: 10, font:{size:30}, size:40, label: 'star', shape: 'star', shapeProperties:{borderDashes:true}},
{id: 11, font:{size:30}, size:40, label: 'circularImage', shape: 'circularImage', image: '../img/indonesia/4.png', shapeProperties: {borderDashes:[15,5]}},
{id: 12, font:{size:30}, size:40, label: 'hexagon', shape: 'hexagon', shapeProperties:{borderDashes:[5,5]}},
];
edges = [

Loading…
Cancel
Save