Pentagon -> Heptagon!

This commit is contained in:
Simon Howe
2016-02-25 16:27:13 +01:00
parent 292a56dc1d
commit 569ca9d3d9
6 changed files with 13 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ function polygon(r, sides) {
return points;
}
export default function NodeShapeSeptagon({onlyHighlight, highlighted, size, color}) {
export default function NodeShapeHeptagon({onlyHighlight, highlighted, size, color}) {
const scaledSize = size * 1.0;
const pathProps = (v) => {
return {

View File

@@ -9,7 +9,7 @@ import NodeShapeCircle from './node-shape-circle';
import NodeShapeStack from './node-shape-stack';
import NodeShapeRoundedSquare from './node-shape-rounded-square';
import NodeShapeHex from './node-shape-hex';
import NodeShapeSeptagon from './node-shape-septagon';
import NodeShapeHeptagon from './node-shape-heptagon';
import NodeShapeCloud from './node-shape-cloud';
function stackedShape(Shape) {
@@ -23,7 +23,7 @@ function stackedShape(Shape) {
const nodeShapes = {
'circle': NodeShapeCircle,
'hexagon': NodeShapeHex,
'pentagon': NodeShapeSeptagon,
'heptagon': NodeShapeHeptagon,
'square': NodeShapeRoundedSquare,
'cloud': NodeShapeCloud
};

View File

@@ -7,7 +7,7 @@ const log = debug('scope:debug-panel');
import { receiveNodesDelta } from '../actions/app-actions';
import AppStore from '../stores/app-store';
const SHAPES = ['circle', 'hexagon', 'square', 'pentagon'];
const SHAPES = ['circle', 'hexagon', 'square', 'heptagon'];
const NODE_COUNTS = [1, 2, 3];
const STACK_VARIANTS = [true, false];