Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set proper defaults for Graph component config #39

Merged
merged 1 commit into from
Nov 20, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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