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
97c0ccce
Commit
97c0ccce
authored
Apr 18, 2017
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup comments and change font
parent
e9f27795
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
14 deletions
+15
-14
db.json
db.json
+4
-0
explorerjs.html
explorerjs.html
+1
-1
settings_explorerjs.js
settings_explorerjs.js
+2
-2
Tinaweb.js
tinawebJS/Tinaweb.js
+2
-1
enviroment.js
tinawebJS/enviroment.js
+0
-4
main.js
tinawebJS/main.js
+2
-2
sigma.parseCustom.js
tinawebJS/sigma.parseCustom.js
+2
-2
sigmaUtils.js
tinawebJS/sigmaUtils.js
+2
-2
No files found.
db.json
View file @
97c0ccce
...
...
@@ -9,6 +9,10 @@
"ProgrammeDesCandidats.gexf"
:
{
"social"
:
{},
"semantic"
:
{}
},
"ProgrammeDesCandidats.sans_outliers.gexf"
:
{
"social"
:
{},
"semantic"
:
{}
}
}
},
...
...
explorerjs.html
View file @
97c0ccce
...
...
@@ -25,7 +25,7 @@
<!-- Crete Round
Original *and* informative :) -->
<
!-- <link href='https://fonts.googleapis.com/css?family=Crete+Round:400,400italic&subset=latin-ext' rel='stylesheet' type='text/css'> --
>
<
link
href=
'https://fonts.googleapis.com/css?family=Crete+Round:400,400italic&subset=latin-ext'
rel=
'stylesheet'
type=
'text/css'
>
<!-- Lora
"book" (roman style) + nice heading -->
...
...
settings_explorerjs.js
View file @
97c0ccce
...
...
@@ -143,8 +143,8 @@ var sigmaJsDrawingProperties = {
twNodeRendBorderColor
:
"#222"
,
// twNodeRendBorderColor: "#eee",
//
font: "Crete Round",
font
:
"Ubuntu Condensed"
,
font
:
"Crete Round"
,
//
font: "Ubuntu Condensed",
fontStyle
:
"bold"
,
};
var
sigmaJsGraphProperties
=
{
...
...
tinawebJS/Tinaweb.js
View file @
97c0ccce
...
...
@@ -845,7 +845,7 @@ TinaWebJS = function ( sigmacanvas ) {
labelSizeTimeout
=
setTimeout
(
function
(){
if
(
TW
.
partialGraph
.
settings
(
'labelSizeRatio'
)
!=
value
)
{
var
adaptedLabelThreshold
=
(
5
-
value
)
+
1
console
.
log
(
"value"
,
value
,
"thres"
,
adaptedLabelThreshold
)
//
console.log("value", value, "thres", adaptedLabelThreshold)
TW
.
partialGraph
.
settings
(
'labelSizeRatio'
,
value
)
TW
.
partialGraph
.
settings
(
'labelThreshold'
,
adaptedLabelThreshold
)
...
...
@@ -920,6 +920,7 @@ TinaWebJS = function ( sigmacanvas ) {
winResizeTimeout
=
setTimeout
(
function
()
{
console
.
log
(
'did refresh'
)
TW
.
partialGraph
.
refresh
()
theHtml
.
classList
.
remove
(
'waiting'
);
},
3000
)
},
true
)
...
...
tinawebJS/enviroment.js
View file @
97c0ccce
...
...
@@ -503,10 +503,6 @@ function EdgeWeightFilter(sliderDivID , type_attrb , type , criteria) {
var
steps
=
filterparams
[
"steps"
]
// TODO polito filterparams comes back like this {steps:0, finalarray:[]}
console
.
warn
(
"overriding steps"
)
steps
=
2
var
finalarray
=
filterparams
[
"finalarray"
]
// if(steps<3) {
// $(sliderDivID).freshslider({
...
...
tinawebJS/main.js
View file @
97c0ccce
...
...
@@ -181,8 +181,8 @@ if(RES["OK"]) {
console
.
log
(
"parsing the data"
)
var
start
=
new
ParseCustom
(
fileparam
,
the_data
);
var
categories
=
start
.
scanFile
();
//user should choose the order of categories
console
.
error
(
"Categories: "
)
console
.
log
(
categories
)
// console.log
("Categories: ")
//
console.log(categories)
if
(
!
categories
)
{
console
.
warn
(
'ParseCustom scanFile found no categories!!'
)
...
...
tinawebJS/sigma.parseCustom.js
View file @
97c0ccce
...
...
@@ -409,7 +409,7 @@ function dictfyGexf( gexf , categories ){
}
}
console
.
warn
(
'parseCustom output nodes'
,
nodes
)
//
console.warn ('parseCustom output nodes', nodes)
// -------------- debug: for local stats ----------------
// allSizes.sort();
...
...
@@ -492,7 +492,7 @@ function dictfyGexf( gexf , categories ){
// console.debug('>>> tr: read edge', edge)
if
(
nodes
[
source
]
&&
nodes
[
target
]
)
{
console
.
debug
(
'>>> tr: new edge has matching source and target nodes'
)
//
console.debug('>>> tr: new edge has matching source and target nodes')
idS
=
nodes
[
source
].
type
;
idT
=
nodes
[
target
].
type
;
...
...
tinawebJS/sigmaUtils.js
View file @
97c0ccce
...
...
@@ -8,8 +8,8 @@ SigmaUtils = function () {
console
.
log
(
"Filling the graaaaph:"
)
console
.
log
(
"FillGraph catDict"
,
catDict
)
console
.
log
(
"FillGraph nodes"
,
nodes
)
console
.
log
(
"FillGraph edges"
,
edges
)
//
console.log("FillGraph nodes",nodes)
//
console.log("FillGraph edges",edges)
for
(
var
i
in
nodes
)
{
var
n
=
nodes
[
i
];
// console.debug('tr >>> fgr node', n)
...
...
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