dash-contextnet 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dash_contextnet/ContextNet.py +215 -0
- dash_contextnet/THIRD_PARTY_LICENSES.txt +305 -0
- dash_contextnet/__init__.py +30 -0
- dash_contextnet/_imports_.py +5 -0
- dash_contextnet/_version.py +1 -0
- dash_contextnet/dash_contextnet.min.js +11 -0
- dash_contextnet/dash_contextnet.min.js.map +1 -0
- dash_contextnet/metadata.json +1 -0
- dash_contextnet-0.2.0.dist-info/METADATA +159 -0
- dash_contextnet-0.2.0.dist-info/RECORD +13 -0
- dash_contextnet-0.2.0.dist-info/WHEEL +4 -0
- dash_contextnet-0.2.0.dist-info/licenses/LICENSE +21 -0
- dash_contextnet-0.2.0.dist-info/licenses/dash_contextnet/THIRD_PARTY_LICENSES.txt +305 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"src/lib/components/ContextNet.react.js":{"description":"ContextNet: multi-compartment, condition-aware network views (Cytoscape.js) as a Dash component.\n\nInput props map to the ContextNet JavaScript API (keys inside the dict props use its camelCase names):\n`data` -> setData, `compartment_mode` -> setCompartmentMode, `context` -> contextualize / clearContext,\n`layout` -> layout, `edge_layers` -> setEdgeLayers, `edge_view` -> setEdgeView, `bubble_by` -> setBubbleBy,\n`hints` -> setCompartmentHints, `semantic_zoom` -> setSemanticZoom. After every change that moves nodes\n(data, mode, layers, edge view, context, layout) the layout runs again.\n\nOutput props: `selection`, `last_event`, `network_info`, `error`, and with `compute_metrics=True` also\n`metrics`. Exports: set `export_request`; the file arrives in `export_result` in the format of\n`dcc.Download`, and `export_request` is reset to None.","displayName":"ContextNet","methods":[],"props":{"id":{"type":{"name":"string"},"required":false,"description":"The ID used to identify this component in Dash callbacks."},"className":{"type":{"name":"string"},"required":false,"description":"CSS class of the container."},"style":{"type":{"name":"object"},"required":false,"description":"CSS style of the container. It needs a height. Default: width 100%, height 600px.","defaultValue":{"value":"{ width: '100%', height: '600px' }","computed":false}},"data":{"type":{"name":"object"},"required":false,"description":"The network (ContextNet `NetworkData`): `nodes`, `edges` and optionally `compartments`, `species`,\n`speciesGroups`, `orthogroups` and `expression`. See https://github.com/bjoernoest/cytoscapejs_contextnet/blob/main/docs/MANUAL.md"},"compartment_mode":{"type":{"name":"enum","value":[{"value":"'pie'","computed":false},{"value":"'clones'","computed":false},{"value":"'bubbles'","computed":false},{"value":"'orthogroups'","computed":false},{"value":"'orthogroup-nodes'","computed":false}]},"required":false,"description":"How compartments are drawn."},"context":{"type":{"name":"object"},"required":false,"description":"Expression context (ContextNet `ContextOptions`): `condition`, `threshold`, and optionally `direction`\n('both' | 'up' | 'down'), `maxP`, `unmeasured` ('inactive' | 'keep'), `keepLinkers`, `minActiveNeighbors`,\n`minEdgeWeight`, `hideIsolated`, `display` ('hide' | 'dim'). None (or no `condition`) shows the full network."},"layout":{"type":{"name":"object"},"required":false,"description":"Layout options (ContextNet `LayoutOptions`): `algorithm` ('fcose' | 'anchored'), `anchored`, `scope`,\n`cache`, `fit`, `fcose`, `incremental`. Used whenever the layout runs; changing it runs the layout again."},"edge_layers":{"type":{"name":"arrayOf","value":{"name":"string"}},"required":false,"description":"Evidence layers (`EdgeInput.layer`) to show and analyse. None or [] = all layers."},"edge_view":{"type":{"name":"object"},"required":false,"description":"Edge view of the 'orthogroup-nodes' mode (ContextNet `EdgeViewOptions`): `style` ('split' | 'merged') and `filter`."},"bubble_by":{"type":{"name":"string"},"required":false,"description":"Overlay key for bubble outlines: 'compartment' or an annotation key. None removes the bubbles."},"bubble_min_species":{"type":{"name":"number"},"required":false,"description":"Only draw bubbles for values shared by at least this many species. Default 1."},"bubble_avoid":{"type":{"name":"union","value":[{"name":"bool"},{"name":"enum","value":[{"value":"'auto'","computed":false}]}]},"required":false,"description":"Route bubble outlines around non-members: True, False or 'auto' (default: on up to 200 shown nodes)."},"hints":{"type":{"name":"union","value":[{"name":"bool"},{"name":"string"},{"name":"object"}]},"required":false,"description":"Background hints: 'territories', 'bubbles', True (bubbles by compartment), a ContextNet\n`CompartmentHintOptions` dict (`style`, `by`, `minFraction`, `opacity`, `bandwidth`, `labels`), or None."},"semantic_zoom":{"type":{"name":"union","value":[{"name":"bool"},{"name":"object"}]},"required":false,"description":"Semantic zoom for the 'orthogroup-nodes' mode: True, a dict (`zoom`, `maxMembers`) or None."},"keyboard":{"type":{"name":"bool"},"required":false,"description":"Keyboard navigation of the network (arrow keys, Enter, Escape). Default True."},"overlay_click":{"type":{"name":"bool"},"required":false,"description":"Clicking a territory or bubble selects its members. Default True."},"stylesheet":{"type":{"name":"arrayOf","value":{"name":"object"}},"required":false,"description":"Extra Cytoscape styles appended to the ContextNet stylesheet. Read once, when the network is created."},"cytoscape_options":{"type":{"name":"object"},"required":false,"description":"Extra options of the Cytoscape core (e.g. `minZoom`, `wheelSensitivity`). Read once, when the network is created."},"selection":{"type":{"name":"shape","value":{"proteins":{"name":"arrayOf","value":{"name":"string"},"required":false},"nodeIds":{"name":"arrayOf","value":{"name":"string"},"required":false},"source":{"name":"string","required":false}}},"required":false,"description":"The selection: `{'proteins': [...], 'nodeIds': [...], 'source': ...}`. Written on every change in the\nbrowser (`source` 'click', 'keyboard', 'search' or 'api'); set it from Python to select proteins or nodes."},"compute_metrics":{"type":{"name":"bool"},"required":false,"description":"Compute `metrics` after every layout. Off by default: edge crossings are slow on large networks."},"metrics":{"type":{"name":"object"},"required":false,"description":"Output: ContextNet `metrics()` of what is shown (with `compute_metrics=True`)."},"last_event":{"type":{"name":"object"},"required":false,"description":"Output: the last ContextNet event as `{'type': ..., 'time': ..., **payload}`. Types: 'data', 'mode',\n'context' (with `stats`), 'layout', 'overlay', 'edgeview', 'layers', 'select', 'expand', 'collapse', and\n'tap' (with `id` and `info`, ContextNet `info()` of the tapped node or edge)."},"network_info":{"type":{"name":"object"},"required":false,"description":"Output: what the network offers and shows: `mode`, `conditions`, `metric`, `overlayKeys`, `annotationKeys`,\n`layers`, `shownLayers`, `units`, `warnings`, `context` (stats or None), `visible` (`nodes`, `edges`)."},"error":{"type":{"name":"string"},"required":false,"description":"Output: error messages of the last update (e.g. an unknown overlay key), or None."},"export_request":{"type":{"name":"object"},"required":false,"description":"Request an export: `{'format': 'png' | 'svg', 'filename': ..., 'options': {...}}` (`options`: ContextNet\n`ExportOptions`, e.g. `scale`, `background`, `legend`). Reset to None once the export is done."},"export_result":{"type":{"name":"object"},"required":false,"description":"Output: the exported file as `{'content', 'filename', 'base64', 'type', 'request'}`, ready for\n`dcc.Download` (PNG base64-encoded, SVG as text)."},"setProps":{"type":{"name":"func"},"required":false,"description":"Dash-assigned callback that should be called to report property changes to Dash."}}}}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: dash-contextnet
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Plotly Dash component for ContextNet: multi-compartment, condition-aware views of biological interaction networks (Cytoscape.js).
|
|
5
|
+
Project-URL: Homepage, https://github.com/bjoernoest/cytoscapejs_contextnet
|
|
6
|
+
Project-URL: Documentation, https://github.com/bjoernoest/cytoscapejs_contextnet/tree/main/python/dash_contextnet
|
|
7
|
+
Project-URL: Demo, https://bjoernoest.github.io/cytoscapejs_contextnet/
|
|
8
|
+
Project-URL: Issues, https://github.com/bjoernoest/cytoscapejs_contextnet/issues
|
|
9
|
+
Author: Bjoern Oest Hansen
|
|
10
|
+
License-Expression: MIT
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
License-File: dash_contextnet/THIRD_PARTY_LICENSES.txt
|
|
13
|
+
Keywords: bioinformatics,cytoscape,dash,expression,network,plotly,subcellular-localization
|
|
14
|
+
Classifier: Development Status :: 4 - Beta
|
|
15
|
+
Classifier: Framework :: Dash
|
|
16
|
+
Classifier: Intended Audience :: Science/Research
|
|
17
|
+
Classifier: Programming Language :: JavaScript
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
20
|
+
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
21
|
+
Requires-Python: >=3.10
|
|
22
|
+
Requires-Dist: dash>=2.9
|
|
23
|
+
Requires-Dist: typing-extensions>=4.1
|
|
24
|
+
Provides-Extra: test
|
|
25
|
+
Requires-Dist: playwright>=1.40; extra == 'test'
|
|
26
|
+
Requires-Dist: pytest>=7; extra == 'test'
|
|
27
|
+
Description-Content-Type: text/markdown
|
|
28
|
+
|
|
29
|
+
# dash-contextnet
|
|
30
|
+
|
|
31
|
+
A [Plotly Dash](https://dash.plotly.com/) component for [ContextNet](https://github.com/bjoernoest/cytoscapejs_contextnet) (`cytoscape-contextnet`), a Cytoscape.js extension for biological interaction networks: proteins in several (sub)cellular compartments, expression-driven sub-networks, orthogroups across species, and evidence layers.
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pip install dash-contextnet
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
The package ships one JavaScript bundle with Cytoscape.js, cytoscape-fcose, cytoscape-bubblesets and ContextNet, so nothing else needs to be installed, built or copied into `assets/`. Python ≥ 3.10 and Dash ≥ 2.9 (tested with 2.9.3 and 4.5.2, React 16, 18 and 19).
|
|
38
|
+
|
|
39
|
+
Live demo of the JavaScript library: <https://bjoernoest.github.io/cytoscapejs_contextnet/>
|
|
40
|
+
|
|
41
|
+
## Minimal app
|
|
42
|
+
|
|
43
|
+
```python
|
|
44
|
+
from dash import Dash, Input, Output, dcc, html
|
|
45
|
+
from dash_contextnet import ContextNet
|
|
46
|
+
|
|
47
|
+
network = {
|
|
48
|
+
"compartments": [{"id": "cytosol"}, {"id": "nucleus"}],
|
|
49
|
+
"nodes": [
|
|
50
|
+
{"id": "ABI1", "compartments": ["cytosol", "nucleus"]},
|
|
51
|
+
{"id": "SnRK2.6", "compartments": ["cytosol"]},
|
|
52
|
+
{"id": "ABF2", "compartments": ["nucleus"]},
|
|
53
|
+
],
|
|
54
|
+
"edges": [{"source": "ABI1", "target": "SnRK2.6"}, {"source": "SnRK2.6", "target": "ABF2"}],
|
|
55
|
+
"expression": {
|
|
56
|
+
"metric": "log2fc",
|
|
57
|
+
"values": {"ABI1": {"ABA": 2.1}, "SnRK2.6": {"ABA": 0.2}, "ABF2": {"ABA": 1.6}},
|
|
58
|
+
},
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
app = Dash(__name__)
|
|
62
|
+
app.layout = html.Div([
|
|
63
|
+
dcc.Dropdown(["pie", "clones", "bubbles"], "pie", id="mode", clearable=False),
|
|
64
|
+
dcc.Checklist(["ABA"], [], id="condition"),
|
|
65
|
+
ContextNet(id="net", data=network, style={"height": "500px"}),
|
|
66
|
+
html.Pre(id="selected"),
|
|
67
|
+
])
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
@app.callback(Output("net", "compartment_mode"), Input("mode", "value"))
|
|
71
|
+
def set_mode(mode):
|
|
72
|
+
return mode
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
@app.callback(Output("net", "context"), Input("condition", "value"))
|
|
76
|
+
def set_context(conditions):
|
|
77
|
+
# Proteins with |log2FC| >= 1 under ABA, plus linkers between them.
|
|
78
|
+
return {"condition": "ABA", "threshold": 1, "keepLinkers": True} if conditions else None
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
@app.callback(Output("selected", "children"), Input("net", "selection"))
|
|
82
|
+
def show_selection(selection):
|
|
83
|
+
return ", ".join((selection or {}).get("proteins", [])) or "Click a node."
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
if __name__ == "__main__":
|
|
87
|
+
app.run(debug=True)
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
A complete app with every control (datasets, modes, context with p-value filter, evidence layers, background territories, bubbles, metrics, PNG/SVG export) is in [`examples/dash/`](https://github.com/bjoernoest/cytoscapejs_contextnet/tree/main/examples/dash) of the repository.
|
|
91
|
+
|
|
92
|
+
## Props
|
|
93
|
+
|
|
94
|
+
The input props follow the ContextNet JavaScript API ([manual](https://github.com/bjoernoest/cytoscapejs_contextnet/blob/main/docs/MANUAL.md)). Keys *inside* dict props keep the camelCase names of that API (`keepLinkers`, `maxP`), so the manual applies as written.
|
|
95
|
+
|
|
96
|
+
| Prop | ContextNet call | Value |
|
|
97
|
+
| --- | --- | --- |
|
|
98
|
+
| `data` | `setData` | `NetworkData`: `nodes`, `edges`, optional `compartments`, `species`, `speciesGroups`, `orthogroups`, `expression` |
|
|
99
|
+
| `compartment_mode` | `setCompartmentMode` | `'pie'` (default), `'clones'`, `'bubbles'`, `'orthogroups'`, `'orthogroup-nodes'` |
|
|
100
|
+
| `context` | `contextualize` / `clearContext` | `ContextOptions`: `condition`, `threshold`, `direction`, `maxP`, `unmeasured`, `keepLinkers`, `minActiveNeighbors`, `minEdgeWeight`, `hideIsolated`, `display`; `None` = whole network |
|
|
101
|
+
| `layout` | `layout` | `LayoutOptions`: `algorithm` (`'fcose'`, `'anchored'`), `anchored`, `scope`, `cache`, `fit`, `fcose`, `incremental` |
|
|
102
|
+
| `edge_layers` | `setEdgeLayers` | list of `EdgeInput.layer` values; `None` or `[]` = all |
|
|
103
|
+
| `edge_view` | `setEdgeView` | `EdgeViewOptions`: `style` (`'split'`, `'merged'`), `filter` (orthogroup-nodes mode) |
|
|
104
|
+
| `bubble_by`, `bubble_min_species`, `bubble_avoid` | `setBubbleBy(key, {minSpecies, avoid})` | `'compartment'` or an annotation key; `None` = no bubbles |
|
|
105
|
+
| `hints` | `setCompartmentHints` | `'territories'`, `'bubbles'`, `True`, a `CompartmentHintOptions` dict, or `None` |
|
|
106
|
+
| `semantic_zoom` | `setSemanticZoom` | `True`, `{'zoom', 'maxMembers'}` or `None` |
|
|
107
|
+
| `keyboard`, `overlay_click` | `enableKeyboard`, `enableOverlayClick` | default `True` |
|
|
108
|
+
| `stylesheet`, `cytoscape_options` | constructor | extra Cytoscape styles / core options, read once |
|
|
109
|
+
| `style`, `className` | | of the container; it needs a height (default 600px) |
|
|
110
|
+
|
|
111
|
+
Whenever data, mode, edge layers, edge view, context or layout options change, the layout runs again (with the `layout` options; `{'incremental': True}` keeps nodes close to where they were). Updates never overlap: changes that arrive during a layout are applied after it.
|
|
112
|
+
|
|
113
|
+
Output props, written by the component:
|
|
114
|
+
|
|
115
|
+
| Prop | Content |
|
|
116
|
+
| --- | --- |
|
|
117
|
+
| `selection` | `{'proteins': [...], 'nodeIds': [...], 'source': 'click' \| 'keyboard' \| 'search' \| 'api'}` on every change. Also an input: set it from Python to select proteins or nodes. |
|
|
118
|
+
| `network_info` | `mode`, `conditions`, `metric`, `overlayKeys`, `annotationKeys`, `layers`, `shownLayers`, `units`, `warnings`, `context` (the context statistics or `None`), `visible` (`nodes`, `edges`). Use it to fill dropdowns. |
|
|
119
|
+
| `metrics` | `net.metrics()` after every layout, only with `compute_metrics=True` (edge crossings are slow on large networks). |
|
|
120
|
+
| `last_event` | The last ContextNet event, `{'type', 'time', ...payload}`: `data`, `mode`, `context` (with `stats`), `layout`, `overlay`, `edgeview`, `layers`, `select`, `expand`, `collapse`, and `tap` (with `id` and `info`, the `info()` of the tapped node or edge). |
|
|
121
|
+
| `error` | Messages of the last update that failed (e.g. an unknown overlay key), else `None`. The rest of the update is still applied. |
|
|
122
|
+
|
|
123
|
+
### Export
|
|
124
|
+
|
|
125
|
+
Set `export_request` to `{'format': 'png' or 'svg', 'filename': ..., 'options': {...}}` (`options` are ContextNet `ExportOptions`: `scale`, `padding`, `background`, `labels`, `legend`, `fontSize`, `title`, `description`). The component calls `exportPng` / `exportSvg`, writes the file to `export_result` and resets `export_request` to `None`. `export_result` has the keys of `dcc.Download` (`content`, `filename`, `base64`, `type`, plus the `request`), so it can be passed straight on:
|
|
126
|
+
|
|
127
|
+
```python
|
|
128
|
+
@app.callback(Output("net", "export_request"), Input("png", "n_clicks"), prevent_initial_call=True)
|
|
129
|
+
def export(_):
|
|
130
|
+
return {"format": "png", "filename": "network.png", "options": {"scale": 3}}
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
@app.callback(Output("download", "data"), Input("net", "export_result"), prevent_initial_call=True)
|
|
134
|
+
def download(result):
|
|
135
|
+
return result # dcc.Download(id="download") in the layout
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
## Notes
|
|
139
|
+
|
|
140
|
+
- Do not put `dash-cytoscape` and this component on the same page expecting them to share a graph: each bundles its own Cytoscape.js, and ContextNet builds and owns its elements.
|
|
141
|
+
- Large networks: ContextNet handles a few thousand nodes; keep `compute_metrics` off and prefer `context` over sending a smaller `data`.
|
|
142
|
+
|
|
143
|
+
## Development
|
|
144
|
+
|
|
145
|
+
The component lives in `python/dash_contextnet/` of the ContextNet repository. Building needs Node ≥ 20.19 and a Python environment with `ci/requirements-build.txt` (Dash is pinned there, because the generated `dash_contextnet/ContextNet.py` depends on the generator's version). The scripts in `ci/` are what CI runs:
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
pip install -r ci/requirements-build.txt
|
|
149
|
+
ci/build.sh # library, webpack bundle, generated Python class, wheel + sdist in dist/, twine check
|
|
150
|
+
ci/test.sh # installs dist/*.whl[test] and runs the tests against it (DASH_VERSION=2.9.3 for the oldest Dash)
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
`ci/build.sh` fails when the committed generated files (`ContextNet.py`, `_imports_.py`, `metadata.json`, `THIRD_PARTY_LICENSES.txt`) differ from what the build produces; commit them after changing the component. The bundle build writes `THIRD_PARTY_LICENSES.txt` from the modules that end up in the bundle and fails if one of them has a licence other than MIT, ISC, BSD or Apache-2.0.
|
|
154
|
+
|
|
155
|
+
For quick iterations: `npm run build:js -- --mode development` (seconds instead of about a minute), `pip install -e ".[test]"`, `pytest`.
|
|
156
|
+
|
|
157
|
+
## Licence
|
|
158
|
+
|
|
159
|
+
MIT. The bundled libraries (Cytoscape.js, cytoscape-fcose, cose-base, layout-base, cytoscape-bubblesets, cytoscape-layers, bubblesets-js, lodash.throttle, prop-types) are MIT-licensed; their notices are in `dash_contextnet/THIRD_PARTY_LICENSES.txt`, which is included in the wheel and the sdist.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
dash_contextnet/ContextNet.py,sha256=6N3b2OlPCtT0gvsh-NYyvKD11KguOnwtBNWVr3g5mb0,9464
|
|
2
|
+
dash_contextnet/THIRD_PARTY_LICENSES.txt,sha256=-Vw-BxGea2wzGtUTfeBJKn0VXeyvFSQuqSOdWiCbZNU,14352
|
|
3
|
+
dash_contextnet/__init__.py,sha256=tiP0tN4mE2k-_WIt7KLKWAWVCjYjM_mtOIzM-vCi520,928
|
|
4
|
+
dash_contextnet/_imports_.py,sha256=9yZdcHu3WQuFMlhj4Psb354yS9HLqN9kBkz-FrCLXR4,66
|
|
5
|
+
dash_contextnet/_version.py,sha256=Zn1KFblwuFHiDRdRAiRnDBRkbPttWh44jKa5zG2ov0E,22
|
|
6
|
+
dash_contextnet/dash_contextnet.min.js,sha256=KoazxpAjdnUutBI7Hhbt9QSXRttqVVzn23YcPiDazQk,706916
|
|
7
|
+
dash_contextnet/dash_contextnet.min.js.map,sha256=zTYK9xHp0gp_Tfca1CrP5gXWxyQ8bg_yiJZp_Y20www,2875391
|
|
8
|
+
dash_contextnet/metadata.json,sha256=dqUNw6mWiZ-BpbzkW_e_FbCyRv0VAHnIxgwE8KkB5rM,7126
|
|
9
|
+
dash_contextnet-0.2.0.dist-info/METADATA,sha256=hdoFxOo6NPdERCdZHVOqFrq7XWxaMZNLTbYsxCeJtVY,9709
|
|
10
|
+
dash_contextnet-0.2.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
11
|
+
dash_contextnet-0.2.0.dist-info/licenses/LICENSE,sha256=ESYyLizI0WWtxMeS7rGVcX3ivMezm-HOd5WdeOh-9oU,1056
|
|
12
|
+
dash_contextnet-0.2.0.dist-info/licenses/dash_contextnet/THIRD_PARTY_LICENSES.txt,sha256=-Vw-BxGea2wzGtUTfeBJKn0VXeyvFSQuqSOdWiCbZNU,14352
|
|
13
|
+
dash_contextnet-0.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
Third-party software bundled in dash_contextnet/dash_contextnet.min.js
|
|
2
|
+
Generated by webpack.config.js from the modules that are actually in the bundle.
|
|
3
|
+
|
|
4
|
+
bubblesets-js 3.0.1 MIT
|
|
5
|
+
cose-base 2.2.0 MIT
|
|
6
|
+
cytoscape 3.35.0 MIT
|
|
7
|
+
cytoscape-bubblesets 4.1.0 MIT
|
|
8
|
+
cytoscape-contextnet 0.2.0 MIT
|
|
9
|
+
cytoscape-fcose 2.2.0 MIT
|
|
10
|
+
cytoscape-layers 3.1.0 MIT
|
|
11
|
+
layout-base 2.0.1 MIT
|
|
12
|
+
lodash.throttle 4.1.1 MIT
|
|
13
|
+
prop-types 15.8.1 MIT
|
|
14
|
+
|
|
15
|
+
==============================================================================
|
|
16
|
+
bubblesets-js 3.0.1 (MIT)
|
|
17
|
+
https://github.com/upsetjs/bubblesets-js
|
|
18
|
+
==============================================================================
|
|
19
|
+
|
|
20
|
+
MIT License
|
|
21
|
+
|
|
22
|
+
Copyright (c) 2021-2022 Samuel Gratzl
|
|
23
|
+
|
|
24
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
25
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
26
|
+
in the Software without restriction, including without limitation the rights
|
|
27
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
28
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
29
|
+
furnished to do so, subject to the following conditions:
|
|
30
|
+
|
|
31
|
+
The above copyright notice and this permission notice shall be included in all
|
|
32
|
+
copies or substantial portions of the Software.
|
|
33
|
+
|
|
34
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
35
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
36
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
37
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
38
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
39
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
40
|
+
SOFTWARE.
|
|
41
|
+
|
|
42
|
+
==============================================================================
|
|
43
|
+
cose-base 2.2.0 (MIT)
|
|
44
|
+
https://github.com/iVis-at-Bilkent/cose-base#readme
|
|
45
|
+
==============================================================================
|
|
46
|
+
|
|
47
|
+
MIT License
|
|
48
|
+
|
|
49
|
+
Copyright (c) 2019 - present, iVis@Bilkent.
|
|
50
|
+
|
|
51
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
52
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
53
|
+
in the Software without restriction, including without limitation the rights
|
|
54
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
55
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
56
|
+
furnished to do so, subject to the following conditions:
|
|
57
|
+
|
|
58
|
+
The above copyright notice and this permission notice shall be included in all
|
|
59
|
+
copies or substantial portions of the Software.
|
|
60
|
+
|
|
61
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
62
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
63
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
64
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
65
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
66
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
67
|
+
SOFTWARE.
|
|
68
|
+
|
|
69
|
+
==============================================================================
|
|
70
|
+
cytoscape 3.35.0 (MIT)
|
|
71
|
+
http://js.cytoscape.org
|
|
72
|
+
==============================================================================
|
|
73
|
+
|
|
74
|
+
Copyright (c) 2016-2026, The Cytoscape Consortium.
|
|
75
|
+
|
|
76
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
77
|
+
this software and associated documentation files (the “Software”), to deal in
|
|
78
|
+
the Software without restriction, including without limitation the rights to
|
|
79
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
80
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
81
|
+
so, subject to the following conditions:
|
|
82
|
+
|
|
83
|
+
The above copyright notice and this permission notice shall be included in all
|
|
84
|
+
copies or substantial portions of the Software.
|
|
85
|
+
|
|
86
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
87
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
88
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
89
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
90
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
91
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
92
|
+
SOFTWARE.
|
|
93
|
+
|
|
94
|
+
==============================================================================
|
|
95
|
+
cytoscape-bubblesets 4.1.0 (MIT)
|
|
96
|
+
https://github.com/upsetjs/cytoscape.js-bubblesets
|
|
97
|
+
==============================================================================
|
|
98
|
+
|
|
99
|
+
MIT License
|
|
100
|
+
|
|
101
|
+
Copyright (c) 2021-2022 Samuel Gratzl
|
|
102
|
+
|
|
103
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
104
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
105
|
+
in the Software without restriction, including without limitation the rights
|
|
106
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
107
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
108
|
+
furnished to do so, subject to the following conditions:
|
|
109
|
+
|
|
110
|
+
The above copyright notice and this permission notice shall be included in all
|
|
111
|
+
copies or substantial portions of the Software.
|
|
112
|
+
|
|
113
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
114
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
115
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
116
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
117
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
118
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
119
|
+
SOFTWARE.
|
|
120
|
+
|
|
121
|
+
==============================================================================
|
|
122
|
+
cytoscape-contextnet 0.2.0 (MIT)
|
|
123
|
+
https://bjoernoest.github.io/cytoscapejs_contextnet/
|
|
124
|
+
==============================================================================
|
|
125
|
+
|
|
126
|
+
MIT License
|
|
127
|
+
|
|
128
|
+
Copyright (c) 2026
|
|
129
|
+
|
|
130
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
131
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
132
|
+
in the Software without restriction, including without limitation the rights
|
|
133
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
134
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
135
|
+
furnished to do so, subject to the following conditions:
|
|
136
|
+
|
|
137
|
+
The above copyright notice and this permission notice shall be included in all
|
|
138
|
+
copies or substantial portions of the Software.
|
|
139
|
+
|
|
140
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
141
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
142
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
143
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
144
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
145
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
146
|
+
SOFTWARE.
|
|
147
|
+
|
|
148
|
+
==============================================================================
|
|
149
|
+
cytoscape-fcose 2.2.0 (MIT)
|
|
150
|
+
https://github.com/iVis-at-Bilkent/cytoscape.js-fcose
|
|
151
|
+
==============================================================================
|
|
152
|
+
|
|
153
|
+
Copyright (c) 2018 - present, iVis-at-Bilkent.
|
|
154
|
+
|
|
155
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
156
|
+
this software and associated documentation files (the “Software”), to deal in
|
|
157
|
+
the Software without restriction, including without limitation the rights to
|
|
158
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
159
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
160
|
+
so, subject to the following conditions:
|
|
161
|
+
|
|
162
|
+
The above copyright notice and this permission notice shall be included in all
|
|
163
|
+
copies or substantial portions of the Software.
|
|
164
|
+
|
|
165
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
166
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
167
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
168
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
169
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
170
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
171
|
+
SOFTWARE.
|
|
172
|
+
|
|
173
|
+
==============================================================================
|
|
174
|
+
cytoscape-layers 3.1.0 (MIT)
|
|
175
|
+
https://github.com/sgratzl/cytoscape.js-layers
|
|
176
|
+
==============================================================================
|
|
177
|
+
|
|
178
|
+
MIT License
|
|
179
|
+
|
|
180
|
+
Copyright (c) 2020 Samuel Gratzl
|
|
181
|
+
|
|
182
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
183
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
184
|
+
in the Software without restriction, including without limitation the rights
|
|
185
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
186
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
187
|
+
furnished to do so, subject to the following conditions:
|
|
188
|
+
|
|
189
|
+
The above copyright notice and this permission notice shall be included in all
|
|
190
|
+
copies or substantial portions of the Software.
|
|
191
|
+
|
|
192
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
193
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
194
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
195
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
196
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
197
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
198
|
+
SOFTWARE.
|
|
199
|
+
|
|
200
|
+
==============================================================================
|
|
201
|
+
layout-base 2.0.1 (MIT)
|
|
202
|
+
https://github.com/iVis-at-Bilkent/layout-base#readme
|
|
203
|
+
==============================================================================
|
|
204
|
+
|
|
205
|
+
MIT License
|
|
206
|
+
|
|
207
|
+
Copyright (c) 2019 iVis@Bilkent
|
|
208
|
+
|
|
209
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
210
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
211
|
+
in the Software without restriction, including without limitation the rights
|
|
212
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
213
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
214
|
+
furnished to do so, subject to the following conditions:
|
|
215
|
+
|
|
216
|
+
The above copyright notice and this permission notice shall be included in all
|
|
217
|
+
copies or substantial portions of the Software.
|
|
218
|
+
|
|
219
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
220
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
221
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
222
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
223
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
224
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
225
|
+
SOFTWARE.
|
|
226
|
+
|
|
227
|
+
==============================================================================
|
|
228
|
+
lodash.throttle 4.1.1 (MIT)
|
|
229
|
+
https://lodash.com/
|
|
230
|
+
==============================================================================
|
|
231
|
+
|
|
232
|
+
Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
|
233
|
+
|
|
234
|
+
Based on Underscore.js, copyright Jeremy Ashkenas,
|
|
235
|
+
DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
|
|
236
|
+
|
|
237
|
+
This software consists of voluntary contributions made by many
|
|
238
|
+
individuals. For exact contribution history, see the revision history
|
|
239
|
+
available at https://github.com/lodash/lodash
|
|
240
|
+
|
|
241
|
+
The following license applies to all parts of this software except as
|
|
242
|
+
documented below:
|
|
243
|
+
|
|
244
|
+
====
|
|
245
|
+
|
|
246
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
247
|
+
a copy of this software and associated documentation files (the
|
|
248
|
+
"Software"), to deal in the Software without restriction, including
|
|
249
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
250
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
251
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
252
|
+
the following conditions:
|
|
253
|
+
|
|
254
|
+
The above copyright notice and this permission notice shall be
|
|
255
|
+
included in all copies or substantial portions of the Software.
|
|
256
|
+
|
|
257
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
258
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
259
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
260
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
261
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
262
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
263
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
264
|
+
|
|
265
|
+
====
|
|
266
|
+
|
|
267
|
+
Copyright and related rights for sample code are waived via CC0. Sample
|
|
268
|
+
code is defined as all source code displayed within the prose of the
|
|
269
|
+
documentation.
|
|
270
|
+
|
|
271
|
+
CC0: http://creativecommons.org/publicdomain/zero/1.0/
|
|
272
|
+
|
|
273
|
+
====
|
|
274
|
+
|
|
275
|
+
Files located in the node_modules and vendor directories are externally
|
|
276
|
+
maintained libraries used by this software which have their own
|
|
277
|
+
licenses; we recommend you read them, as their terms may differ from the
|
|
278
|
+
terms above.
|
|
279
|
+
|
|
280
|
+
==============================================================================
|
|
281
|
+
prop-types 15.8.1 (MIT)
|
|
282
|
+
https://facebook.github.io/react/
|
|
283
|
+
==============================================================================
|
|
284
|
+
|
|
285
|
+
MIT License
|
|
286
|
+
|
|
287
|
+
Copyright (c) 2013-present, Facebook, Inc.
|
|
288
|
+
|
|
289
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
290
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
291
|
+
in the Software without restriction, including without limitation the rights
|
|
292
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
293
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
294
|
+
furnished to do so, subject to the following conditions:
|
|
295
|
+
|
|
296
|
+
The above copyright notice and this permission notice shall be included in all
|
|
297
|
+
copies or substantial portions of the Software.
|
|
298
|
+
|
|
299
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
300
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
301
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
302
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
303
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
304
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
305
|
+
SOFTWARE.
|