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
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Grégoire Locqueville
purescript-gargantext
Commits
4891a7ce
Commit
4891a7ce
authored
Dec 04, 2019
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] design graph + blank url.
parent
5e03363b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
DocsTable.purs
src/Gargantext/Components/DocsTable.purs
+1
-1
Graph.purs
src/Gargantext/Components/Graph.purs
+17
-17
No files found.
src/Gargantext/Components/DocsTable.purs
View file @
4891a7ce
...
@@ -416,7 +416,7 @@ pageCpt = R.memo' $ R.hooksComponent "G.C.DocsTable.pageCpt" cpt where
...
@@ -416,7 +416,7 @@ pageCpt = R.memo' $ R.hooksComponent "G.C.DocsTable.pageCpt" cpt where
-- TODO show date: Year-Month-Day only
-- TODO show date: Year-Month-Day only
, H.div { style } [ R2.showText r.date ]
, H.div { style } [ R2.showText r.date ]
, H.div { style }
, H.div { style }
[ H.a { href: url frontends $ corpusDocument r._id
} [ H.text r.title ] ]
[ H.a { href: url frontends $ corpusDocument r._id
, target: "_blank"
} [ H.text r.title ] ]
, H.div { style } [ H.text $ if r.source == "" then "Source" else r.source ]
, H.div { style } [ H.text $ if r.source == "" then "Source" else r.source ]
]
]
, delete: true }
, delete: true }
...
...
src/Gargantext/Components/Graph.purs
View file @
4891a7ce
...
@@ -169,7 +169,7 @@ type SigmaSettings =
...
@@ -169,7 +169,7 @@ type SigmaSettings =
, mouseZoomDuration :: Number
, mouseZoomDuration :: Number
, nodeBorderColor :: String
, nodeBorderColor :: String
-- , nodeHoverColor :: String
-- , nodeHoverColor :: String
--
, nodesPowRatio :: Number
--, nodesPowRatio :: Number
, rescaleIgnoreSize :: Boolean
, rescaleIgnoreSize :: Boolean
-- , scalingMode :: String
-- , scalingMode :: String
-- , sideMargin :: Number
-- , sideMargin :: Number
...
@@ -201,15 +201,15 @@ sigmaSettings =
...
@@ -201,15 +201,15 @@ sigmaSettings =
, autoRescale: true
, autoRescale: true
, autoResize: true
, autoResize: true
, batchEdgesDrawing: true
, batchEdgesDrawing: true
, borderSize:
3
.0 -- for ex, bigger border when hover
, borderSize:
1
.0 -- for ex, bigger border when hover
, defaultEdgeHoverColor: "#f00"
, defaultEdgeHoverColor: "#f00"
, defaultEdgeType: "curve" -- 'curve' or 'line' (curve iff ourRendering)
, defaultEdgeType: "curve" -- 'curve' or 'line' (curve iff ourRendering)
, defaultHoverLabelBGColor: "#fff"
, defaultHoverLabelBGColor: "#fff"
, defaultHoverLabelColor: "#000"
, defaultHoverLabelColor: "#000"
, defaultLabelColor: "#000" -- labels text color
, defaultLabelColor: "#000" -- labels text color
, defaultLabelSize: 8.0 -- (old tina: showLabelsIfZoom)
, defaultLabelSize: 8.0 -- (old tina: showLabelsIfZoom)
, defaultNodeBorderColor
: "black
" -- <- if nodeBorderColor = 'default'
, defaultNodeBorderColor
: "#000
" -- <- if nodeBorderColor = 'default'
, defaultNodeColor: "#
ddd
"
, defaultNodeColor: "#
FFF
"
, doubleClickEnabled: false
, doubleClickEnabled: false
, drawEdgeLabels: true
, drawEdgeLabels: true
, drawEdges: true
, drawEdges: true
...
@@ -224,7 +224,7 @@ sigmaSettings =
...
@@ -224,7 +224,7 @@ sigmaSettings =
, fontStyle: "bold"
, fontStyle: "bold"
, hideEdgesOnMove: true
, hideEdgesOnMove: true
, labelSize : "fixed"
, labelSize : "fixed"
, labelSizeRatio:
1
.0 -- label size in ratio of node size
, labelSizeRatio:
2
.0 -- label size in ratio of node size
, labelThreshold: 5.0 -- min node cam size to start showing label
, labelThreshold: 5.0 -- min node cam size to start showing label
, maxEdgeSize: 1.0
, maxEdgeSize: 1.0
, maxNodeSize: 7.0
, maxNodeSize: 7.0
...
@@ -232,18 +232,18 @@ sigmaSettings =
...
@@ -232,18 +232,18 @@ sigmaSettings =
, minNodeSize: 0.1
, minNodeSize: 0.1
, mouseEnabled: true
, mouseEnabled: true
, mouseZoomDuration: 150.0
, mouseZoomDuration: 150.0
, nodeBorderColor: "
node" -- choices: 'default' color vs. node
color
, nodeBorderColor: "
default" -- choices: "default" color vs. "node"
color
--
, nodesPowRatio: 0.3
--
, nodesPowRatio : 10.8
, rescaleIgnoreSize: false
, rescaleIgnoreSize
: false
, singleHover: true
, singleHover
: true
, touchEnabled: true
, touchEnabled
: true
, twBorderGreyColor
: "rgba(100, 100, 100, 0.5
)"
, twBorderGreyColor
: "rgba(100, 100, 100, 0.9
)"
, twEdgeDefaultOpacity: 0.4 -- initial opacity added to src/tgt colors
, twEdgeDefaultOpacity
: 0.4 -- initial opacity added to src/tgt colors
, twEdgeGreyColor: "rgba(100, 100, 100, 0.25)"
, twEdgeGreyColor
: "rgba(100, 100, 100, 0.25)"
, twNodeRendBorderColor
: "#222
"
, twNodeRendBorderColor
: "#FFF
"
, twNodeRendBorderSize
: 0
.5 -- node borders (only iff ourRendering)
, twNodeRendBorderSize
: 2
.5 -- node borders (only iff ourRendering)
, twNodesGreyOpacity: 5.5 -- smaller value: more grey
, twNodesGreyOpacity
: 5.5 -- smaller value: more grey
, twSelectedColor
: "default
" -- "node" for a label bg like the node color, "default" for white background
, twSelectedColor
: "node
" -- "node" for a label bg like the node color, "default" for white background
, verbose : true
, verbose : true
, zoomMax: 1.7
, zoomMax: 1.7
, zoomMin: 0.0
, zoomMin: 0.0
...
...
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