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
4b95280b
Commit
4b95280b
authored
Jun 30, 2017
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't cancelSelection when changing colors
parent
d5ebd7ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
extras_explorerjs.js
twmain/extras_explorerjs.js
+1
-1
sigmaUtils.js
twmain/sigmaUtils.js
+0
-5
No files found.
twmain/extras_explorerjs.js
View file @
4b95280b
...
@@ -22,7 +22,7 @@ function changeGraphAppearanceByFacets(actypes) {
...
@@ -22,7 +22,7 @@ function changeGraphAppearanceByFacets(actypes) {
let
currentNbNodes
=
TW
.
partialGraph
.
graph
.
nNodes
()
let
currentNbNodes
=
TW
.
partialGraph
.
graph
.
nNodes
()
// create colormenu and 1st default entry
// create colormenu and 1st default entry
var
color_menu_info
=
'<li><a href="#" onclick="TW.gui.handpickedcolor = false ; graphResetLabelsAndSizes()">By Default</a></li>'
;
var
color_menu_info
=
'<li><a href="#" onclick="TW.gui.handpickedcolor = false ; graphResetLabelsAndSizes()
; TW.partialGraph.refresh()
">By Default</a></li>'
;
if
(
$
(
"#colorgraph-menu"
).
length
>
0
)
{
if
(
$
(
"#colorgraph-menu"
).
length
>
0
)
{
for
(
var
tid
in
actypes
)
{
for
(
var
tid
in
actypes
)
{
...
...
twmain/sigmaUtils.js
View file @
4b95280b
...
@@ -665,7 +665,6 @@ function edgeInfos(anEdge) {
...
@@ -665,7 +665,6 @@ function edgeInfos(anEdge) {
function
gradientColoring
(
daclass
)
{
function
gradientColoring
(
daclass
)
{
cancelSelection
(
false
);
// loops only on selected
graphResetLabelsAndSizes
()
// full loop
graphResetLabelsAndSizes
()
// full loop
TW
.
gui
.
handpickedcolor
=
true
TW
.
gui
.
handpickedcolor
=
true
...
@@ -853,7 +852,6 @@ function heatmapColoring(daclass) {
...
@@ -853,7 +852,6 @@ function heatmapColoring(daclass) {
binColors
=
getHeatmapColors
(
nColors
)
binColors
=
getHeatmapColors
(
nColors
)
// let's go
// let's go
cancelSelection
(
false
);
// loops only on selected
graphResetLabelsAndSizes
()
// full loop
graphResetLabelsAndSizes
()
// full loop
// global flag
// global flag
...
@@ -909,9 +907,6 @@ function heatmapColoring(daclass) {
...
@@ -909,9 +907,6 @@ function heatmapColoring(daclass) {
function
clusterColoring
(
daclass
)
{
function
clusterColoring
(
daclass
)
{
console
.
log
(
"clusterColoring ( "
+
daclass
+
" )"
)
cancelSelection
(
false
);
// now loops only on selected
graphResetLabelsAndSizes
()
// full loop
graphResetLabelsAndSizes
()
// full loop
// louvain needs preparation
// louvain needs preparation
...
...
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