{ "info": { "author": "The Plotly Team", "author_email": "xinghan@plot.ly", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Flask", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Financial and Insurance Industry", "Intended Audience :: Healthcare Industry", "Intended Audience :: Manufacturing", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Database :: Front-Ends", "Topic :: Scientific/Engineering :: Visualization", "Topic :: Software Development :: Libraries :: Application Frameworks" ], "description": "# Dash Cytoscape [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/plotly/dash-cytoscape/blob/master/LICENSE) [![PyPi Version](https://img.shields.io/pypi/v/dash-cytoscape.svg)](https://pypi.org/project/dash-cytoscape/)\n\nA Dash component library for creating interactive and customizable networks in Python, wrapped around [Cytoscape.js](http://js.cytoscape.org/).\n\n![usage-stylesheet-demo](https://raw.githubusercontent.com/plotly/dash-cytoscape/master/demos/images/usage-stylesheet-demo.gif)\n\n* \ud83c\udf1f [Medium Article](https://medium.com/@plotlygraphs/introducing-dash-cytoscape-ce96cac824e4)\n* \ud83d\udce3 [Community Announcement](https://community.plot.ly/t/announcing-dash-cytoscape/19095)\n* \ud83d\udcbb [Github Repository](https://github.com/plotly/dash-cytoscape) \n* \ud83d\udcda [User Guide](https://dash.plot.ly/cytoscape) \n* \ud83d\uddfa [Component Reference](https://dash.plot.ly/cytoscape/reference)\n* \ud83d\udcfa [Webinar Recording](https://www.youtube.com/watch?v=snXcIsCMQgk)\n\n## Getting Started\n\n### Prerequisites\n\nMake sure that dash and its dependent libraries are correctly installed:\n```commandline\npip install dash dash-html-components\n```\n\nIf you want to install the latest versions, check out the [Dash docs on installation](https://dash.plot.ly/installation).\n\n\n### Usage\n\nInstall the library using pip:\n\n```\npip install dash-cytoscape\n```\n\nCreate the following example inside an `app.py` file:\n\n```python\nimport dash\nimport dash_cytoscape as cyto\nimport dash_html_components as html\n\napp = dash.Dash(__name__)\napp.layout = html.Div([\n cyto.Cytoscape(\n id='cytoscape',\n elements=[\n {'data': {'id': 'one', 'label': 'Node 1'}, 'position': {'x': 50, 'y': 50}},\n {'data': {'id': 'two', 'label': 'Node 2'}, 'position': {'x': 200, 'y': 200}},\n {'data': {'source': 'one', 'target': 'two','label': 'Node 1 to 2'}}\n ],\n layout={'name': 'preset'}\n )\n])\n\nif __name__ == '__main__':\n app.run_server(debug=True)\n```\n\n![basic-usage](https://raw.githubusercontent.com/plotly/dash-cytoscape/master/demos/images/basic-usage.gif)\n\n### External layouts\n\nYou can also add external layouts. Use the `cyto.load_extra_layouts()` function to get started:\n\n```python\nimport dash\nimport dash_cytoscape as cyto\nimport dash_html_components as html\n\ncyto.load_extra_layouts()\n\napp = dash.Dash(__name__)\napp.layout = html.Div([\n cyto.Cytoscape(...)\n])\n```\n\n## Documentation\n\nThe [Dash Cytoscape User Guide](https://dash.plot.ly/cytoscape/) contains everything you need to know about the library. It contains useful examples, functioning code, and is fully interactive. You can also use the [component reference](https://dash.plot.ly/cytoscape/reference/) for a complete and concise specification of the API. \n\nTo learn more about the core Dash components and how to use callbacks, view the [Dash documentation](https://dash.plot.ly/).\n\nFor supplementary information about the underlying Javascript API, view the [Cytoscape.js documentation](http://js.cytoscape.org/).\n\n## Contributing\n\nMake sure that you have read and understood our [code of conduct](CODE_OF_CONDUCT.md), then head over to [CONTRIBUTING](CONTRIBUTING.md) to get started. \n\n## License\n\nDash, Cytoscape.js and Dash Cytoscape are licensed under MIT. Please view [LICENSE](LICENSE) for more details.\n\n## Contact and Support\n\nSee https://plot.ly/dash/support for ways to get in touch.\n\n## Acknowledgments\n\nHuge thanks to the Cytoscape Consortium and the Cytoscape.js team for their contribution in making such a complete API for creating interactive networks. This library would not have been possible without their massive work!\n\nThe Pull Request and Issue Templates were inspired from the\n[scikit-learn project](https://github.com/scikit-learn/scikit-learn).\n\n## Gallery\n\nInteracting with the [elements](usage-elements.py):\n![usage-elements-demo](demos/images/usage-elements-demo.gif)\n\nUsing [external layouts](demos/usage-elements-extra.py):\n![usage-elements-extra](demos/images/usage-elements-extra.gif)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://dash.plot.ly/cytoscape", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "dash-cytoscape", "package_url": "https://pypi.org/project/dash-cytoscape/", "platform": "", "project_url": "https://pypi.org/project/dash-cytoscape/", "project_urls": { "Homepage": "https://dash.plot.ly/cytoscape" }, "release_url": "https://pypi.org/project/dash-cytoscape/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "A Component Library for Dash aimed at facilitating network visualization in Python, wrapped around Cytoscape.js", "version": "0.1.1" }, "last_serial": 5135316, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "72c0b6a1cd717585ddc1f053b81aaa73", "sha256": "52d4de9bd3a99dc1843a5b519f147f724e230f762469cef9b49c9688d7b62b0a" }, "downloads": -1, "filename": "dash_cytoscape-0.0.1.tar.gz", "has_sig": false, "md5_digest": "72c0b6a1cd717585ddc1f053b81aaa73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 130422, "upload_time": "2018-11-03T06:33:39", "url": "https://files.pythonhosted.org/packages/56/3b/83f6cea78c85f15629f2e39d207f30ba24175d24ddb554de374675a78b7a/dash_cytoscape-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "9bcbd16c9683e150cf77841056c1112c", "sha256": "ae6aa2b24e4b95edb70e34415df8af5bb970d0b515135efbb24a4eeac54b8113" }, "downloads": -1, "filename": "dash_cytoscape-0.0.2.tar.gz", "has_sig": false, "md5_digest": "9bcbd16c9683e150cf77841056c1112c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 130599, "upload_time": "2018-11-09T04:57:15", "url": "https://files.pythonhosted.org/packages/e6/05/5c094f30c342d25dc5c53acd19ee696ebb7f2079ad35df3263fd1506bf19/dash_cytoscape-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "92ebb2536c3d3edda4a30e67551e2428", "sha256": "6f29c3b627881e143fc4bc1d0d5c15546844539930eeb03e995426109647dacc" }, "downloads": -1, "filename": "dash_cytoscape-0.0.3.tar.gz", "has_sig": false, "md5_digest": "92ebb2536c3d3edda4a30e67551e2428", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 130648, "upload_time": "2019-01-04T20:20:25", "url": "https://files.pythonhosted.org/packages/a9/80/482ec26e0da7b54befb2122f8bdb423cd035c5942e642259cbaad284da80/dash_cytoscape-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "d5a77483cc96202934758a068a94e69b", "sha256": "17a6a5668195e79ecaf51363b8f14bb7edc7cfcc04994de2ec973990adf793d3" }, "downloads": -1, "filename": "dash_cytoscape-0.0.4.tar.gz", "has_sig": false, "md5_digest": "d5a77483cc96202934758a068a94e69b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 941893, "upload_time": "2019-01-22T20:02:15", "url": "https://files.pythonhosted.org/packages/52/c2/4b26c5eb7b75b5513c75c91cad36b42ce4cbb580cbdf3df926a304561bf1/dash_cytoscape-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "826d5e9a76afa955c7c81ed4c48c9b68", "sha256": "a3f3ce00ff46f2ab7b0a814d54b71cd560fcc713266eb49094c0823865f600d4" }, "downloads": -1, "filename": "dash_cytoscape-0.0.5.tar.gz", "has_sig": false, "md5_digest": "826d5e9a76afa955c7c81ed4c48c9b68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 942092, "upload_time": "2019-03-08T22:34:19", "url": "https://files.pythonhosted.org/packages/3d/c3/fde252cdd33276a814ade3255b2df2268455b21bcbdeeea9488c42e46b87/dash_cytoscape-0.0.5.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "af2c104ea421ce2f87b620f54aaf396d", "sha256": "73068062cd568d0c097cbd7198229dbdb46e705d6b251950bee106891d382fe2" }, "downloads": -1, "filename": "dash_cytoscape-0.1.0.tar.gz", "has_sig": false, "md5_digest": "af2c104ea421ce2f87b620f54aaf396d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3403829, "upload_time": "2019-04-05T21:38:37", "url": "https://files.pythonhosted.org/packages/94/33/0dc4d0d0b50f07c6c7be0b76d801d12e56eee167bd81a4bdb1290e0a656a/dash_cytoscape-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "577f6f4ea07273467af2620cfaeeecf3", "sha256": "0cb0d26ba39273cecbb95ee61ceb9faebb71fd6617b7d5f245a73afb9c308444" }, "downloads": -1, "filename": "dash_cytoscape-0.1.1.tar.gz", "has_sig": false, "md5_digest": "577f6f4ea07273467af2620cfaeeecf3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3404743, "upload_time": "2019-04-06T02:00:35", "url": "https://files.pythonhosted.org/packages/aa/93/d9db22331dcad4a055631372816bf4544a1a1a852fb2fa3a2905c6682198/dash_cytoscape-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "577f6f4ea07273467af2620cfaeeecf3", "sha256": "0cb0d26ba39273cecbb95ee61ceb9faebb71fd6617b7d5f245a73afb9c308444" }, "downloads": -1, "filename": "dash_cytoscape-0.1.1.tar.gz", "has_sig": false, "md5_digest": "577f6f4ea07273467af2620cfaeeecf3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3404743, "upload_time": "2019-04-06T02:00:35", "url": "https://files.pythonhosted.org/packages/aa/93/d9db22331dcad4a055631372816bf4544a1a1a852fb2fa3a2905c6682198/dash_cytoscape-0.1.1.tar.gz" } ] }