@@ -8,19 +8,14 @@ import { VscSettings } from "react-icons/vsc";
88import Select from "react-select" ;
99
1010import {
11- DEFAULT_EDGE_SIZE_RATIO ,
1211 DEFAULT_LABEL_SIZE ,
1312 DEFAULT_LABEL_THRESHOLD ,
14- DEFAULT_NODE_SIZE_RATIO ,
1513 LABEL_SIZE_STEP ,
1614 LABEL_THRESHOLD_STEP ,
1715 MAX_LABEL_SIZE ,
1816 MAX_LABEL_THRESHOLD ,
19- MAX_NODE_SIZE_RATIO ,
2017 MIN_LABEL_SIZE ,
2118 MIN_LABEL_THRESHOLD ,
22- MIN_NODE_SIZE_RATIO ,
23- NODE_SIZE_RATIO_STEP ,
2419 RANGE_STYLE ,
2520 SLIDER_STYLE ,
2621 DEFAULT_SELECT_PROPS ,
@@ -36,13 +31,11 @@ interface Option {
3631
3732const ReadabilityBlock : FC = ( ) => {
3833 // const { navState, setNavState } = useContext(GraphContext);
39- const { navState, setNavState, showEditionPanel , setShowEditionPanel, setShowEdgePanel, data } = useContext ( GraphContext ) ;
34+ const { navState, setNavState, setShowEditionPanel, setShowEdgePanel, data } = useContext ( GraphContext ) ;
4035 const [ initialNavState ] = useState < NavState > ( navState ) ;
4136
4237 const minLabelSize = typeof navState . minLabelSize === "number" ? navState . minLabelSize : DEFAULT_LABEL_SIZE ;
4338 const maxLabelSize = typeof navState . maxLabelSize === "number" ? navState . maxLabelSize : DEFAULT_LABEL_SIZE ;
44- const nodeSizeRatio = typeof navState . nodeSizeRatio === "number" ? navState . nodeSizeRatio : DEFAULT_NODE_SIZE_RATIO ;
45- const edgeSizeRatio = typeof navState . edgeSizeRatio === "number" ? navState . edgeSizeRatio : DEFAULT_EDGE_SIZE_RATIO ;
4639 const labelThresholdRatio =
4740 typeof navState . labelThresholdRatio === "number" ? navState . labelThresholdRatio : DEFAULT_LABEL_THRESHOLD ;
4841
@@ -144,7 +137,7 @@ const ReadabilityBlock: FC = () => {
144137 < FaTimes /> Restore default
145138 </ button >
146139 </ h3 >
147- < div className = "pb-3" >
140+ < div className = "pb-3" style = { { marginBottom : '2rem' } } >
148141 < Select
149142 { ...DEFAULT_SELECT_PROPS }
150143 isMulti
0 commit comments