Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clinicaltrials
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
david Chavalarias
clinicaltrials
Commits
257b5c67
Commit
257b5c67
authored
Sep 18, 2017
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nicer visual settings for comex prod
parent
b7dfa0d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
settings_explorerjs.comex.js
twpresets/settings_explorerjs.comex.js
+7
-7
No files found.
twpresets/settings_explorerjs.comex.js
View file @
257b5c67
...
@@ -222,38 +222,38 @@ TW.conf = (function(TW){
...
@@ -222,38 +222,38 @@ TW.conf = (function(TW){
TWConf
.
sigmaJsDrawingProperties
=
{
TWConf
.
sigmaJsDrawingProperties
=
{
// nodes
// nodes
defaultNodeColor
:
"#ddd"
,
defaultNodeColor
:
"#ddd"
,
twNodeRendBorderSize
:
1
,
// node borders (only iff ourRendering)
twNodeRendBorderSize
:
0.5
,
// node borders (only iff ourRendering)
twNodeRendBorderColor
:
"#222"
,
twNodeRendBorderColor
:
"#222"
,
// edges
// edges
minEdgeSize
:
1
,
// in fact used in tina as edge size
minEdgeSize
:
1
,
// in fact used in tina as edge size
defaultEdgeType
:
'curve'
,
// 'curve' or 'line' (curve only iff ourRendering)
defaultEdgeType
:
'curve'
,
// 'curve' or 'line' (curve only iff ourRendering)
twEdgeDefaultOpacity
:
0
.4
,
// initial opacity added to src/tgt colors
twEdgeDefaultOpacity
:
.
4
,
// initial opacity added to src/tgt colors
// labels
// labels
font
:
"Droid Sans"
,
// font params
font
:
"Droid Sans"
,
// font params
fontStyle
:
"bold"
,
fontStyle
:
"bold"
,
defaultLabelColor
:
'#000'
,
// labels text color
defaultLabelColor
:
'#000'
,
// labels text color
labelSizeRatio
:
1
,
// label size in ratio of node size
labelSizeRatio
:
1
,
// label size in ratio of node size
labelThreshold
:
4
,
// min node cam size to start showing label
labelThreshold
:
3.5
,
// min node cam size to start showing label
// (old tina: showLabelsIfZoom)
// (old tina: showLabelsIfZoom)
// hovered nodes
// hovered nodes
defaultHoverLabelBGColor
:
'#fff'
,
defaultHoverLabelBGColor
:
'#fff'
,
defaultHoverLabelColor
:
'#000'
,
defaultHoverLabelColor
:
'#000'
,
borderSize
:
2.5
,
// for ex, bigger border when hover
borderSize
:
1
,
// for ex, bigger border when hover
nodeBorderColor
:
"node"
,
// choices: 'default' color vs. node color
nodeBorderColor
:
"node"
,
// choices: 'default' color vs. node color
defaultNodeBorderColor
:
"black"
,
// <- if nodeBorderColor = 'default'
defaultNodeBorderColor
:
"black"
,
// <- if nodeBorderColor = 'default'
// selected nodes <=> special label
// selected nodes <=> special label
twSelectedColor
:
"default"
,
// "node" for a label bg like the node color,
twSelectedColor
:
"default"
,
// "node" for a label bg like the node color,
// "default" for note-like yellow
// "default" for white background
// not selected <=> (1-greyness)
// not selected <=> (1-greyness)
twNodesGreyOpacity
:
.
5
,
// smaller value: more grey
twNodesGreyOpacity
:
.
4
,
// smaller value: more grey
twBorderGreyColor
:
"rgba(100, 100, 100, 0.5)"
,
twBorderGreyColor
:
"rgba(100, 100, 100, 0.5)"
,
twEdgeGreyColor
:
"rgba(100, 100, 100, 0.
3
)"
,
twEdgeGreyColor
:
"rgba(100, 100, 100, 0.
05
)"
,
};
};
// NB: sigmaJsDrawingProperties are available as 'settings' in all renderers
// NB: sigmaJsDrawingProperties are available as 'settings' in all renderers
// cf. https://github.com/jacomyal/sigma.js/wiki/Settings#renderers-settings
// cf. https://github.com/jacomyal/sigma.js/wiki/Settings#renderers-settings
...
...
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