From 36f92de8f4b48e9c81b27ef25297fe51fde97c5e Mon Sep 17 00:00:00 2001 From: grreeenn Date: Mon, 9 Apr 2018 21:13:32 +0300 Subject: [PATCH 1/4] 19-filter-by-edge-label Adds a functionality to filter the next exploration step by edge label. Works per step, i.e. the value of the edge_filter field may be changed between exploration steps and the change will take effect on the next step, leaving previous steps untouched. Also makes header a CSS grid with auto rows flow as new fields being added. --- css/styles.css | 46 ++++++++++++++++++++++++++++++++---- graphexp.html | 49 +++++++++++++++++++++++++-------------- scripts/graphConf.js | 8 +++---- scripts/graphioGremlin.js | 5 ++-- 4 files changed, 80 insertions(+), 28 deletions(-) diff --git a/css/styles.css b/css/styles.css index 05d3e09..bc82526 100644 --- a/css/styles.css +++ b/css/styles.css @@ -74,11 +74,7 @@ a:active { color: red; } Layout styles ------------------------*/ -.container -{ - padding: 1em 1.25em; - margin: 0 auto; -} + .header { @@ -96,6 +92,46 @@ Layout styles padding: 0; } +.container +{ + padding: 1em 1.25em; + margin: 0 auto; +} + +.nav.container { + display: grid; + grid-template-rows: auto 15%; +} + +.nav.inputs_container { + grid-row: 1 / 2; + + display: grid; + grid-template-columns: auto auto auto auto; + grid-auto-flow: row; + +} + +.nav.input_unit_container { + padding: 5px; + align-self: center; +} + +input[type="number"] { + display:block; +} + +.nav.input_label { + white-space:nowrap; +} + +.nav.controls { + grid-row: 2 / 3; + justify-self: center; + padding-top: 5px; +} + + .content { padding: 0em 0em; diff --git a/graphexp.html b/graphexp.html index 1c88fb2..e29da8e 100644 --- a/graphexp.html +++ b/graphexp.html @@ -49,23 +49,38 @@

Graph Explorer v 0.6

-->