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
92d508dc
Commit
92d508dc
authored
Oct 06, 2017
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
legacy lock flag not needed anymore since
2fc18ac6
parent
9a49c8f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
enviroment.js
twmain/enviroment.js
+3
-2
methods.js
twmain/methods.js
+1
-1
No files found.
twmain/enviroment.js
View file @
92d508dc
...
@@ -789,8 +789,9 @@ function changeLevel(optionalTgtState) {
...
@@ -789,8 +789,9 @@ function changeLevel(optionalTgtState) {
for
(
var
nid
in
nodesToAdd
)
for
(
var
nid
in
nodesToAdd
)
add1Elem
(
nid
)
add1Elem
(
nid
)
for
(
var
eid
in
edgesToAdd
)
for
(
var
eid
in
edgesToAdd
)
{
add1Elem
(
eid
)
add1Elem
(
eid
)
}
// Adding intra-neighbors edges O(voisinage²)
// Adding intra-neighbors edges O(voisinage²)
voisinage
=
Object
.
keys
(
voisinage
)
voisinage
=
Object
.
keys
(
voisinage
)
...
@@ -1134,7 +1135,7 @@ function EdgeWeightFilter(sliderDivID , reltypestr , criteria) {
...
@@ -1134,7 +1135,7 @@ function EdgeWeightFilter(sliderDivID , reltypestr , criteria) {
var
t0
=
performance
.
now
()
var
t0
=
performance
.
now
()
if
(
TW
.
partialGraph
.
graph
.
edges
(
eid
))
{
if
(
TW
.
partialGraph
.
graph
.
edges
(
eid
))
{
TW
.
partialGraph
.
graph
.
edges
(
eid
).
hidden
=
true
TW
.
partialGraph
.
graph
.
edges
(
eid
).
hidden
=
true
TW
.
Edges
[
eid
].
lock
=
true
;
//
TW.Edges[eid].lock = true;
}
}
var
t1
=
performance
.
now
()
var
t1
=
performance
.
now
()
...
...
twmain/methods.js
View file @
92d508dc
...
@@ -806,7 +806,7 @@ function add1Elem(id) {
...
@@ -806,7 +806,7 @@ function add1Elem(id) {
}
else
{
// It's an edge!
}
else
{
// It's an edge!
if
(
!
isUndef
(
TW
.
partialGraph
.
graph
.
edges
(
id
)))
return
;
if
(
!
isUndef
(
TW
.
partialGraph
.
graph
.
edges
(
id
)))
return
;
var
e
=
TW
.
Edges
[
id
]
var
e
=
TW
.
Edges
[
id
]
if
(
e
&&
!
e
.
lock
){
if
(
e
){
// var anedge = {
// var anedge = {
// id: id,
// id: id,
// source: e.source,
// source: e.source,
...
...
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