Metadata-Version: 2.1
Name: dash_cytoscape
Version: 0.0.5
Summary: A Component Library for Dash aimed at facilitating network visualization in Python, wrapped around Cytoscape.js
Home-page: https://dash.plot.ly/cytoscape
Author: The Plotly Team
Author-email: xinghan@plot.ly
License: MIT
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/)
        
        A Component Library for Dash aimed at facilitating network visualization in Python, wrapped around [Cytoscape.js](http://js.cytoscape.org/).
        
        Interacting with the stylesheet:
        ![usage-stylesheet-demo](https://raw.githubusercontent.com/plotly/dash-cytoscape/master/demos/images/usage-stylesheet-demo.gif)
        
        Interacting with the elements:
        ![usage-elements-demo](https://raw.githubusercontent.com/plotly/dash-cytoscape/master/demos/images/usage-elements-demo.gif)
        
        ## Getting Started
        
        ### Prerequisites
        
        Make sure that dash and its dependent libraries are correctly installed:
        ```commandline
        pip install dash dash-html-components
        ```
        
        If you want to install the latest versions, check out the [Dash docs on installation](https://dash.plot.ly/installation).
        
        
        ### Usage
        
        Install the library using pip:
        
        ```
        pip install dash-cytoscape
        ```
        
        Create the following example inside an `app.py` file:
        
        ```python
        import dash
        import dash_cytoscape as cyto
        import dash_html_components as html
        
        app = dash.Dash(__name__)
        app.layout = html.Div([
            cyto.Cytoscape(
                id='cytoscape',
                elements=[
                    {'data': {'id': 'one', 'label': 'Node 1'}, 'position': {'x': 50, 'y': 50}},
                    {'data': {'id': 'two', 'label': 'Node 2'}, 'position': {'x': 200, 'y': 200}},
                    {'data': {'source': 'one', 'target': 'two','label': 'Node 1 to 2'}}
                ],
                layout={'name': 'preset'}
            )
        ])
        
        if __name__ == '__main__':
            app.run_server(debug=True)
        ```
        
        
        ## Documentation
        
        View the [Dash Cytoscape User Guide](https://dash.plot.ly/cytoscape/) to get started now. You can also use the [component reference](https://dash.plot.ly/cytoscape/reference/) to find how to use a certain feature.
        
        To learn more about the core Dash components and how to use callbacks, view the [Dash documentation](https://dash.plot.ly/).
        
        For supplementary information about the underlying Javascript  API, view the [Cytoscape.js documentation](http://js.cytoscape.org/).
        
        ### Development and Contributions
        
        Make 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. 
        
        ## License
        
        Dash, Cytoscape.js and Dash Cytoscape are licensed under MIT. Please view [LICENSE](LICENSE) for more details.
        
        ## Contact and Support
        
        See https://plot.ly/dash/support for ways to get in touch.
        
        ## Acknowledgments
        
        Huge 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!
        
        The Pull Request and Issue Templates were inspired from the
        [scikit-learn project](https://github.com/scikit-learn/scikit-learn).
        
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Flask
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Intended Audience :: Healthcare Industry
Classifier: Intended Audience :: Manufacturing
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Database :: Front-Ends
Classifier: Topic :: Scientific/Engineering :: Visualization
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Description-Content-Type: text/markdown
