mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Pentagon -> Heptagon!
This commit is contained in:
@@ -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 {
|
||||
@@ -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
|
||||
};
|
||||
|
||||
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user