Skip to content

Commit cd49cb5

Browse files
authored
Merge branch 'master' into rewrite-tests-with-dash-testing
2 parents 1a683f8 + f7b15c1 commit cd49cb5

23 files changed

+183
-48
lines changed

dash_cytoscape/Cytoscape.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ class attribute).
183183
- fit (boolean; optional):
184184
Whether to render the nodes in order to fit the canvas.
185185
186-
- name (a value equal to: 'random', 'preset', 'circle', 'concentric', 'grid', 'breadthfirst', 'cose', 'close-bilkent', 'cola', 'euler', 'spread', 'dagre', 'klay'; required):
186+
- name (a value equal to: 'random', 'preset', 'circle', 'concentric', 'grid', 'breadthfirst', 'cose', 'cose-bilkent', 'fcose', 'cola', 'euler', 'spread', 'dagre', 'klay'; required):
187187
The layouts available by default are: `random`: Randomly
188188
assigns positions. `preset`: Assigns position based on the
189189
`position` key in element dictionaries. `circle`:
@@ -199,6 +199,7 @@ class attribute).
199199
loading, which impacts the startup time of the app. The
200200
external layouts are:
201201
[cose-bilkent](https://github.com/cytoscape/cytoscape.js-cose-bilkent),
202+
[fcose](https://github.com/iVis-at-Bilkent/cytoscape.js-fcose),
202203
[cola](https://github.com/cytoscape/cytoscape.js-cola),
203204
[euler](https://github.com/cytoscape/cytoscape.js-dagre),
204205
[spread](https://github.com/cytoscape/cytoscape.js-spread),

dash_cytoscape/dash_cytoscape.dev.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_cytoscape/dash_cytoscape.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_cytoscape/dash_cytoscape_extra.dev.js

Lines changed: 35 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_cytoscape/dash_cytoscape_extra.min.js

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_cytoscape/metadata.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,11 @@
284284
"computed": false
285285
},
286286
{
287-
"value": "'close-bilkent'",
287+
"value": "'cose-bilkent'",
288+
"computed": false
289+
},
290+
{
291+
"value": "'fcose'",
288292
"computed": false
289293
},
290294
{
@@ -308,7 +312,7 @@
308312
"computed": false
309313
}
310314
],
311-
"description": "The layouts available by default are:\n `random`: Randomly assigns positions.\n `preset`: Assigns position based on the `position` key in element dictionaries.\n `circle`: Single-level circle, with optional radius.\n `concentric`: Multi-level circle, with optional radius.\n `grid`: Square grid, optionally with numbers of `rows` and `cols`.\n `breadthfirst`: Tree structure built using BFS, with optional `roots`.\n `cose`: Force-directed physics simulation.\n\nSome external layouts are also included. To use them, run\n `dash_cytoscape.load_extra_layouts()` before creating your Dash app. Be careful about\n using the extra layouts when not necessary, since they require supplementary bandwidth\n for loading, which impacts the startup time of the app.\n The external layouts are:\n [cose-bilkent](https://github.com/cytoscape/cytoscape.js-cose-bilkent),\n [cola](https://github.com/cytoscape/cytoscape.js-cola),\n [euler](https://github.com/cytoscape/cytoscape.js-dagre),\n [spread](https://github.com/cytoscape/cytoscape.js-spread),\n [dagre](https://github.com/cytoscape/cytoscape.js-dagre),\n [klay](https://github.com/cytoscape/cytoscape.js-klay),",
315+
"description": "The layouts available by default are:\n `random`: Randomly assigns positions.\n `preset`: Assigns position based on the `position` key in element dictionaries.\n `circle`: Single-level circle, with optional radius.\n `concentric`: Multi-level circle, with optional radius.\n `grid`: Square grid, optionally with numbers of `rows` and `cols`.\n `breadthfirst`: Tree structure built using BFS, with optional `roots`.\n `cose`: Force-directed physics simulation.\n\nSome external layouts are also included. To use them, run\n `dash_cytoscape.load_extra_layouts()` before creating your Dash app. Be careful about\n using the extra layouts when not necessary, since they require supplementary bandwidth\n for loading, which impacts the startup time of the app.\n The external layouts are:\n [cose-bilkent](https://github.com/cytoscape/cytoscape.js-cose-bilkent),\n [fcose](https://github.com/iVis-at-Bilkent/cytoscape.js-fcose),\n [cola](https://github.com/cytoscape/cytoscape.js-cola),\n [euler](https://github.com/cytoscape/cytoscape.js-dagre),\n [spread](https://github.com/cytoscape/cytoscape.js-spread),\n [dagre](https://github.com/cytoscape/cytoscape.js-dagre),\n [klay](https://github.com/cytoscape/cytoscape.js-klay),",
312316
"required": true
313317
},
314318
"fit": {

dash_cytoscape/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"build:js-dev-extra": "webpack --config webpack.dev.extra.config.js",
2222
"build:js-extra": "webpack --config webpack.prod.extra.config.js",
2323
"build:js-all": "npm run build:js && npm run build:js-dev && npm run build:js-dev-extra && npm run build:js-extra",
24-
"build:backends": "dash-generate-components ./src/lib/components dash_cytoscape -p package-info.json --r-prefix 'cyto' --jl-prefix 'cyto'",
24+
"build:backends": "dash-generate-components ./src/lib/components dash_cytoscape --r-prefix 'cyto' --jl-prefix 'cyto'",
2525
"build:all": "npm run build:js-all && npm run build:backends",
2626
"build:all-activated": "(. venv/bin/activate || venv\\scripts\\activate && npm run build:all)"
2727
},
@@ -33,6 +33,7 @@
3333
"cytoscape-cose-bilkent": "^4.0.0",
3434
"cytoscape-dagre": "^2.2.2",
3535
"cytoscape-euler": "^1.2.1",
36+
"cytoscape-fcose": "^2.1.0",
3637
"cytoscape-klay": "^3.1.2",
3738
"cytoscape-spread": "^3.0.0",
3839
"cytoscape-svg": "0.2.0",

deps/dash_cytoscape.dev.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/dash_cytoscape.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/dash_cytoscape_extra.dev.js

Lines changed: 35 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)