Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
purescript-gargantext
Commits
a61b1948
Commit
a61b1948
authored
Sep 07, 2020
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[graph] some fixes to left/right handed layout
parent
fa75e6a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
26 deletions
+31
-26
GraphExplorer.purs
src/Gargantext/Components/GraphExplorer.purs
+31
-26
No files found.
src/Gargantext/Components/GraphExplorer.purs
View file @
a61b1948
...
@@ -132,37 +132,42 @@ explorerCpt = R.hooksComponent "G.C.GraphExplorer.explorer" cpt
...
@@ -132,37 +132,42 @@ explorerCpt = R.hooksComponent "G.C.GraphExplorer.explorer" cpt
[ outer
[ outer
[ inner
[ inner
[ rowControls [ Controls.controls controls ]
[ rowControls [ Controls.controls controls ]
, R2.row [
, R2.row $ mainLayout handed $
tree { frontends
tree { frontends
, handed
, handed
, mCurrentRoute
, mCurrentRoute
, reload: props.treeReload
, reload: props.treeReload
, sessions
, sessions
, show: fst controls.showTree
, show: fst controls.showTree
, showLogin: snd showLogin }
, showLogin: snd showLogin }
, RH.div { ref: graphRef, id: "graph-view", className: "col-md-12" } [] -- graph container
/\
, graphView { controls
RH.div { ref: graphRef, id: "graph-view", className: "col-md-12" } []
, elRef: graphRef
/\
, graphId
graphView { controls
, graph
, elRef: graphRef
, multiSelectEnabledRef
, graphId
}
, graph
, mSidebar mMetaData { frontends
, multiSelectEnabledRef
, graph
}
, graphId
/\
, graphVersion
mSidebar mMetaData { frontends
, removedNodeIds : controls.removedNodeIds
, graph
, session
, graphId
, selectedNodeIds: controls.selectedNodeIds
, graphVersion
, showSidePanel : controls.showSidePanel
, removedNodeIds : controls.removedNodeIds
, treeReload
, session
}
, selectedNodeIds: controls.selectedNodeIds
]
, showSidePanel : controls.showSidePanel
, treeReload
}
]
]
]
]
]
]
]
]
mainLayout Types.RightHanded (tree' /\ gc /\ gv /\ sdb) = [tree', gc, gv, sdb]
mainLayout Types.LeftHanded (tree' /\ gc /\ gv /\ sdb) = [sdb, gc, gv, tree']
outer = RH.div { className: "col-md-12" }
outer = RH.div { className: "col-md-12" }
inner = RH.div { className: "container-fluid", style: { paddingTop: "90px" } }
inner = RH.div { className: "container-fluid", style: { paddingTop: "90px" } }
rowToggle = RH.div { id: "toggle-container" }
rowToggle = RH.div { id: "toggle-container" }
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment