Hello all! Today, I would like to announce the release of Dash Cytoscape v0.2.0.
This release brings important new features to Dash Cytoscape, as well as some important bug fixes! This is the result of exactly 100 commits and issues that the Dash Cytoscape community has contributed since 2019. It features two significant PRs lead by community contributors, namely PR #88 (which adds the option to save your graph as a png/jpg/svg), as well as PR #92 (which lets you enable responsive Cytoscape graphs). Additionally, the Cytoscape team has focused on fixing issues that concerns package distributions, default props, and security-related issues. You can find examples of the new features in the Dash Cytoscape User Guide , from our Dash Docs .
I’d like to thank Christian for starting the initial work for image exporting (in 2019), Ivo for taking over the PR and adding support for SVG, and Manfred for contributing the responsive property.
- Contributed initial build of R package.
- Added access to cytoscape.js PNG and JPG image generation API through
imageDataproperties (PR #88).
- Added ability to download image files generated with
generateImageclient-side without sending
data to the server (PR #88).
- Used the newly added
imageDataproperties to enable svg generation using cytoscape-svg.
- Added responsive cytoscape.js graph feature toggled using the
responsiveproperty (PR #93).
- Two new documentation pages covering these features:
- Changed the official package manager from
utils.Tree: v0.1.1 broke compatibility with Python 2. Therefore, modified code to be compatible
with Python 2. Added
edge_propsproperties to accept arguments passed directly to
the node’s and edge’s dictionaries, respectively (e.g., ‘classes’, ‘positions’, etc.).
add_child, because it is redundant with
add_childrencalled with an
argument of length 1.
usage-events.py: Fix the size of the cytoscape graph to 500px by 500px.
packages=find_packages(include=[package_name, package_name + ".*"])so that all
utilswill be included when you
pip install dash-cytoscape.
- Issue where
dash-cytoscapecannot read property of ‘length’ of undefined when elements is not specified.