Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
metexplore
MetExploreViz
Commits
d07654bc
Commit
d07654bc
authored
Apr 29, 2021
by
Jean-Clement Gallardo
Browse files
add event expand and collapse for NetWorkManager
parent
9c262180
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/view/panel/comparisonSidePanel/ComparisonSidePanelController.js
View file @
d07654bc
...
...
@@ -14,6 +14,26 @@ Ext.define('metExploreViz.view.panel.comparisonSidePanel.ComparisonSidePanelCont
newMapping
:
me
.
drawCaption
,
scope
:
me
});
view
.
on
({
expand
:
function
(){
var
viz
=
Ext
.
getCmp
(
'
viz
'
);
if
(
viz
.
lookupReference
(
'
handcursor
'
).
hasCls
(
'
focus
'
)){
metExploreD3
.
GraphNetwork
.
moveGraph
();
metExploreD3
.
GraphNetwork
.
moveGraph
();
}
}
});
view
.
on
({
collapse
:
function
(){
var
viz
=
Ext
.
getCmp
(
'
viz
'
);
if
(
viz
.
lookupReference
(
'
handcursor
'
).
hasCls
(
'
focus
'
)){
metExploreD3
.
GraphNetwork
.
moveGraph
();
metExploreD3
.
GraphNetwork
.
moveGraph
();
}
}
});
},
drawCaption
:
function
(){
...
...
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