Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
MetExploreViz
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
71
Issues
71
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
metexplore
MetExploreViz
Commits
77ea1733
Commit
77ea1733
authored
May 16, 2019
by
Maxime Chazalviel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into develop
parents
57bba12c
582658fe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
63 deletions
+47
-63
app.json
app.json
+31
-61
resources/css/networkViz.css
resources/css/networkViz.css
+0
-1
resources/lib/functions/GraphNode.js
resources/lib/functions/GraphNode.js
+16
-1
No files found.
app.json
View file @
77ea1733
...
...
@@ -7,7 +7,7 @@
/**
*
The
version
of
the
application.
*/
"version"
:
"2.6.
4
"
,
"version"
:
"2.6.
5
"
,
/**
*
The
relative
path
to
the
application's
markup
file
(html
,
jsp
,
asp
,
etc.).
...
...
@@ -222,8 +222,7 @@
"js"
:
[
{
"path"
:
"app.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"metexploreviz.js"
...
...
@@ -244,143 +243,115 @@
},
{
"path"
:
"resources/lib/metExploreViz.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/model/NetworkVizSession.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/model/LinkData.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/model/NodeData.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/model/NetworkData.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/model/GeneralStyle.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/model/LinkStyle.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/model/MetaboliteStyle.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/model/ReactionStyle.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/model/Pathway.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/model/Compartment.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/model/Mapping.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/model/MappingData.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/model/Scale.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/model/ColorMapping.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/model/ComparedPanel.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/functions/D3Extention.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/functions/GraphLink.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/functions/GraphNode.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/functions/GraphCaption.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/functions/GraphUtils.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/functions/GraphNetwork.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/functions/Features.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/functions/GraphFunction.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/functions/GraphMapping.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/functions/GraphPanel.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/functions/GraphPath.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
},
{
"path"
:
"resources/lib/functions/GraphStyleEdition.js"
,
"bundle"
:
true
,
"update"
:
"delta"
"bundle"
:
true
}
],
...
...
@@ -620,8 +591,7 @@
*/
"cache"
:
{
"enable"
:
false
,
"daelts"
:
true
"enable"
:
false
}
,
...
...
resources/css/networkViz.css
View file @
77ea1733
...
...
@@ -46,7 +46,6 @@ text.reaction{
max-width
:
200px
;
}
.brush
{
fill
:
#99BCE8
;
fill-opacity
:
0.1
;
stroke
:
#99BCE8
;
shape-rendering
:
crispEdges
;
...
...
resources/lib/functions/GraphNode.js
View file @
77ea1733
...
...
@@ -1437,9 +1437,24 @@ metExploreD3.GraphNode = {
return
d
.
getBiologicalType
()
===
'
reaction
'
;
})
.
addNodeText
(
reactionStyle
);
}
}
metExploreD3
.
GraphNode
.
updatedNodes
.
each
(
function
(
d
)
{
// set corresponding event handler
var
name
=
reactionStyle
.
getDisplayLabel
(
d
,
reactionStyle
.
getLabel
());
metExploreD3
.
GraphStyleEdition
.
changeNodeLabel
(
d
,
parent
,
name
);
if
(
metExploreD3
.
GraphStyleEdition
.
editMode
==
true
)
{
metExploreD3
.
GraphStyleEdition
.
startDragLabel
(
parent
);
}
else
{
metExploreD3
.
GraphStyleEdition
.
endDragLabel
(
parent
);
metExploreD3
.
GraphNode
.
applyEventOnNode
(
parent
);
}
});
metExploreD3
.
GraphNode
.
updatedNodes
.
filter
(
function
(
d
)
{
...
...
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