Skip to content

Commit

Permalink
Set proper defaults for Graph component config (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcaldas authored Nov 20, 2017
1 parent 1a72c5e commit 490df7e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/graph/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
* **[note]** react-d3-graph will map this values to [d3 symbols](https://github.com/d3/d3-shape#symbols)
* @param {string} [node.highlightColor='SAME'] - color for all highlighted nodes (use string 'SAME' if you
* want the node to keep its color in highlighted state).
* @param {number} [node.highlightFontSize=10] - fontSize in highlighted state.
* @param {number} [node.highlightFontSize=8] - fontSize in highlighted state.
* @param {string} [node.highlightFontWeight='normal'] - fontWeight in highlighted state.
* @param {string} [node.highlightStrokeColor='SAME'] - strokeColor in highlighted state.
* @param {number} [node.highlightStrokeWidth=1.5] - strokeWidth in highlighted state.
Expand Down Expand Up @@ -118,11 +118,11 @@
export default {
automaticRearrangeAfterDropNode: false,
height: 400,
highlightBehavior: true,
highlightBehavior: false,
highlightDegree: 1,
highlightOpacity: 0.1,
highlightOpacity: 1,
maxZoom: 8,
minZoom: 0.5,
minZoom: 0.1,
panAndZoom: false,
staticGraph: false,
width: 800,
Expand All @@ -134,7 +134,7 @@ export default {
mouseCursor: 'pointer',
opacity: 1,
renderLabel: true,
size: 80,
size: 200,
strokeColor: 'none',
strokeWidth: 1.5,
symbolType: 'circle',
Expand Down

0 comments on commit 490df7e

Please sign in to comment.