Skip to content

Commit

Permalink
Revert "Testing out more shapes."
Browse files Browse the repository at this point in the history
This reverts commit 9a25041.
  • Loading branch information
foot committed Feb 15, 2016
1 parent 78f96f4 commit fc7d63f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 35 deletions.
30 changes: 0 additions & 30 deletions client/app/scripts/charts/node-shape-cog.js

This file was deleted.

2 changes: 1 addition & 1 deletion client/app/scripts/charts/node-shape-rounded-square.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ import NodeShapeSquare from './node-shape-square';

export default function NodeShapeRoundedSquare(props) {
return (
<NodeShapeSquare {...props} rx="0.2" ry="0.2" />
<NodeShapeSquare {...props} rx="0.4" ry="0.4" />
);
}
7 changes: 3 additions & 4 deletions client/app/scripts/charts/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import { getNodeColor } from '../utils/color-utils';
import NodeShapeCircle from './node-shape-circle';
import NodeShapeStack from './node-shape-stack';
import NodeShapeRoundedSquare from './node-shape-rounded-square';
import NodeShapeCog from './node-shape-cog';
// import NodeShapeHex from './node-shape-hex';
import NodeShapeHex from './node-shape-hex';
import NodeShapeCloud from './node-shape-cloud';

function stackedShape(Shape) {
Expand All @@ -22,8 +21,8 @@ function stackedShape(Shape) {

const nodeShapes = {
'circle': NodeShapeCircle,
'hexagon': NodeShapeRoundedSquare,
'square': NodeShapeCog,
'hexagon': NodeShapeHex,
'square': NodeShapeRoundedSquare,
'cloud': NodeShapeCloud
};

Expand Down

0 comments on commit fc7d63f

Please sign in to comment.