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
9fdb1a17
Commit
9fdb1a17
authored
Apr 20, 2017
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temporarily deactivate all legends
parent
1cdcfc5d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
26 deletions
+8
-26
explorerjs.html
explorerjs.html
+1
-1
main.js
tinawebJS/main.js
+3
-3
sigma.parseCustom.js
tinawebJS/sigma.parseCustom.js
+1
-19
sigmaUtils.js
tinawebJS/sigmaUtils.js
+3
-3
No files found.
explorerjs.html
View file @
9fdb1a17
...
...
@@ -405,7 +405,7 @@
<!-- class="my-legend" (absolute position bottom left) -->
<
div
id=
"legend_for_clusters"
class=
"over-panels"
></div
>
<
!-- <div id="legend_for_clusters" class="over-panels"></div> --
>
</div>
</div>
...
...
tinawebJS/main.js
View file @
9fdb1a17
...
...
@@ -456,7 +456,7 @@ if(RES["OK"]) {
NodeWeightFilter
(
this
.
categories
,
"#slidercat1nodesweight"
,
this
.
categories
[
1
],
"type"
,
"size"
);
EdgeWeightFilter
(
"#slidercat1edgesweight"
,
"label"
,
"nodes2"
,
"weight"
);
}
set_ClustersLegend
(
"clust_default"
)
//
set_ClustersLegend ( "clust_default" )
}
if
(
typestring
==
"1|0"
)
{
...
...
@@ -473,7 +473,7 @@ if(RES["OK"]) {
NodeWeightFilter
(
this
.
categories
,
"#slidercat0nodesweight"
,
this
.
categories
[
0
],
"type"
,
"size"
);
EdgeWeightFilter
(
"#slidercat0edgesweight"
,
"label"
,
"nodes1"
,
"weight"
);
}
set_ClustersLegend
(
"clust_default"
)
//
set_ClustersLegend ( "clust_default" )
}
if
(
typestring
==
"1|1"
)
{
...
...
@@ -561,7 +561,7 @@ if(RES["OK"]) {
console
.
error
(
e
)
}
set_ClustersLegend
(
"clust_default"
)
//
set_ClustersLegend ( "clust_default" )
}
else
alert
(
"error: "
+
RES
[
"data"
])
...
...
tinawebJS/sigma.parseCustom.js
View file @
9fdb1a17
...
...
@@ -356,26 +356,8 @@ function dictfyGexf( gexf , categories ){
var
attr
=
attvalueNode
.
getAttribute
(
'for'
);
var
val
=
attvalueNode
.
getAttribute
(
'value'
);
// TODO use here nodesAttributes
// POSS here check nodesAttributes from scanGexf
if
(
catDict
[
val
])
atts
[
"category"
]
=
val
;
else
atts
[
attr
]
=
val
;
attributes
=
atts
;
}
...
...
tinawebJS/sigmaUtils.js
View file @
9fdb1a17
...
...
@@ -755,7 +755,7 @@ function clustersBy(daclass) {
// Edge precompute alt_rgb by new source-target nodes-colours combination
repaintEdges
()
set_ClustersLegend
(
null
)
//
set_ClustersLegend ( null )
TW
.
partialGraph
.
render
();
}
...
...
@@ -946,7 +946,7 @@ function colorsRelByBins(daclass) {
// Edge precompute alt_rgb by new source-target nodes-colours combination
repaintEdges
()
set_ClustersLegend
(
null
)
//
set_ClustersLegend ( null )
TW
.
partialGraph
.
render
();
}
...
...
@@ -1004,7 +1004,7 @@ function colorsBy(daclass) {
repaintEdges
()
// £TODO fix ClustersLegend
set_ClustersLegend
(
daclass
)
//
set_ClustersLegend ( daclass )
TW
.
partialGraph
.
render
();
}
...
...
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