Skip to content
Snippets Groups Projects
Commit 7c70f118 authored by AndiMajore's avatar AndiMajore
Browse files

merge and first small test to fix connectorNode legend issue

parents 8e47e1ad 310591ed
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
appnope==0.1.2
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
asttokens==2.0.5
attrs==21.4.0
backcall==0.2.0
bleach==4.1.0
certifi==2021.10.8
cffi==1.15.0
charset-normalizer==2.0.12
commonmark==0.9.1
cycler==0.11.0
debugpy==1.5.1
decorator==5.1.1
defusedxml==0.7.1
docutils==0.19
drugstone==0.2.3
entrypoints==0.3
executing==0.8.3
fonttools==4.29.1
idna==3.3
importlib-metadata==4.8.2
ipykernel==6.4.1
ipython==8.1.1
ipython-genutils==0.2.0
ipywidgets==7.6.5
jedi==0.18.1
Jinja2==3.0.3
jsonpickle==2.1.0
jsonschema==3.2.0
jupyter==1.0.0
jupyter-client==7.1.2
jupyter-console==6.4.0
jupyter-core==4.9.1
jupyterlab-pygments==0.1.2
jupyterlab-widgets==1.0.0
keyring==23.8.2
kiwisolver==1.3.2
MarkupSafe==2.1.0
matplotlib==3.5.1
matplotlib-inline==0.1.3
mistune==0.8.4
nbclient==0.5.11
nbconvert==6.3.0
nbformat==5.1.3
nest-asyncio==1.5.1
networkx==2.7
notebook==6.4.8
numpy==1.22.2
packaging==21.3
pandas==1.4.1
pandocfilters==1.5.0
parso==0.8.3
pexpect==4.8.0
pickleshare==0.7.5
Pillow==9.0.1
pip==21.2.4
pkginfo==1.8.3
prometheus-client==0.13.1
prompt-toolkit==3.0.28
ptyprocess==0.7.0
pure-eval==0.2.2
pycparser==2.21
Pygments==2.11.2
pyparsing==3.0.7
pyrsistent==0.18.0
python-dateutil==2.8.2
pytz==2021.3
pyvis==0.1.9
pyzmq==22.3.0
qtconsole==5.2.2
QtPy==1.11.2
readme-renderer==37.0
requests==2.27.1
requests-toolbelt==0.9.1
rfc3986==2.0.0
rich==12.5.1
Send2Trash==1.8.0
setuptools==58.0.4
sip==4.19.13
six==1.16.0
stack-data==0.2.0
terminado==0.13.1
testpath==0.5.0
tornado==6.1
traitlets==5.1.1
twine==4.0.1
typing-extensions==3.10.0.2
UpSetPlot==0.6.0
urllib3==1.26.8
wcwidth==0.2.5
webencodings==0.5.1
wheel==0.37.1
widgetsnbextension==3.5.2
zipp==3.7.0
......@@ -10,19 +10,19 @@ import {IConfig} from '../../../config';
})
export class NetworkLegendComponent implements OnInit {
_context = 'explorer';
_context = 'explorer';
_emptyEdgeConfig = false;
@Input() set context (value: LegendContext) {
this._context = value;
this._context = value
this._emptyEdgeConfig = this.checkIfEdgeConfigEmpty();
};
@Input() config: IConfig;
private contextNodeGroupsToDelete = {
'explorer': ['foundNode', 'foundDrug', 'seedNode', 'default', 'defaultDisorder'],
'adjacentDrugs': ['foundNode', 'seedNode', 'default', 'defaultDisorder'],
'adjacentDisorders': ['foundDrug', 'foundNode', 'seedNode', 'default'],
'adjacentDrugsAndDisorders': ['foundNode', 'seedNode', 'default'],
'explorer': ['foundNode', 'foundDrug', 'seedNode', 'default', 'defaultDisorder', 'connectorNode'],
'adjacentDrugs': ['foundNode', 'seedNode', 'default', 'defaultDisorder', 'connectorNode'],
'adjacentDisorders': ['foundDrug', 'foundNode', 'seedNode', 'default', 'connectorNode'],
'adjacentDrugsAndDisorders': ['foundNode', 'seedNode', 'default', 'connectorNode'],
'drugTarget': ['foundDrug', 'seedNode', 'default', 'defaultDisorder'],
'drug': ['seedNode', 'default', 'defaultDisorder'],
'drugTargetAndSeeds': ['foundDrug', 'default', 'defaultDisorder'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment