aboutsummaryrefslogtreecommitdiffstats
path: root/graphgraph-fe/src/GraphHops.js
diff options
context:
space:
mode:
Diffstat (limited to 'graphgraph-fe/src/GraphHops.js')
-rw-r--r--graphgraph-fe/src/GraphHops.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphgraph-fe/src/GraphHops.js b/graphgraph-fe/src/GraphHops.js
index cd5763a..de7a4cc 100644
--- a/graphgraph-fe/src/GraphHops.js
+++ b/graphgraph-fe/src/GraphHops.js
@@ -50,7 +50,14 @@ class GraphHops extends React.Component {
}
render () {
- // {createNumInput('cousin hops', this.onChangeCousin, this.state.cousinHops)}
+ if (this.props.edgeFilter === 'Edgerules'){
+ return (
+ <div className="hops-input">
+ {createNumInput('edgerule hops', this.onChangeCousin, this.state.cousinHops)}
+ </div>
+ )
+ }
+
return (
<div className="hops-input">
{createNumInput('parent hops', this.onChangeParent, this.state.parentHops)}