Those bundles are double in size compared to the default bundles. * `dash_cytoscape/dash_cytoscape_extra.js`: New bundles containing the extra layouts. * `demos/usage-remove-selected-elements.py`: Example to show how to remove selected elements with button. * `demos/usage-reset-button.py`: Example of resetting the graph position using a button. * `demos/usage-preset-animation.py`: Example of animating nodes using the preset layout. * `demos/usage-elements-extra.py`: Example of loading external layouts. * `demos/usage-dag-edges.py`: Example of edges in a directed acyclic graph (DAG). * Issue where `dash-cytoscape` cannot read property of 'length' of undefined when elements is not specified. Subpackages like `utils` will be included when you `pip install dash-cytoscape`. * `setup.py`: Use `packages=find_packages(include=)` so that all * Upgrade `react-cytoscape.js` to latest. * `usage-events.py`: Fix the size of the cytoscape graph to 500px by 500px. * `setup.py`: Remove `dash-html-components` and `dash_renderer` from `install_requires`. * Removed `Tree`'s method `add_child`, because it is redundant with `add_children` called with an The node's and edge's dictionaries, respectively (e.g., 'classes', 'positions', etc.). Added `props` and `edge_props` properties to accept arguments passed directly to Therefore, modified code to be compatible * `utils.Tree`: v0.1.1 broke compatibility with Python 2. * Changed the official package manager from `yarn` to `npm`. * `demos/usage-image-export.py`: Shows how to export images as JPG, PNG or SVG. * `demos/usage-responsive-graph.py`: Example of graph with the ability to toggle the responsive feature on and off. * Added responsive cytoscape.js graph feature toggled using the `responsive` property (PR ()). * Used the newly added `generateImage` and `imageData` properties to enable svg generation using (). * Added ability to download image files generated with `generateImage` client-side without sending * Added access to cytoscape.js PNG and JPG image generation API through `generateImage` and Add Component.* Contributed initial build of R package.Add setup and version explanation to README.Add support for headless, styleEnabled and the following (canvas renderer) rendering hints: hideEdgesOnViewport, textureOnViewport, motionBlur, motionBlurOpacity, wheelSensitivity, pixelRatio.When patching, apply layout outside of batching.Update dependencies and lint configurations.Change from webpack to microbundle ( rollup based).In particular, since you frequently need to explicitly call cytoscape functionality in your larger project, this helps ensure only one copy of it is loaded. BREAKING: Move cytoscape to peer dependencies for easier use in other packages.For example, you may specify elements as the following: Using Immutable allows for cheaper diffs, which is useful for updating graphs with many elements. The props used to control the reading and diffing of the main props are listed below.Įxamples are given using Immutable. non JSON props), for example an object-oriented model or an Immutable model. This component allows for props of custom type to be used (i.e. The style attribute of the div containing CSS styles, e.g. The class attribute of the div containing space-separated class names, e.g. These props allow for setting built-in HTML attributes on the div created by the component that holds the visualisation: id If true, elements have immutable selection state, e.g. If true, nodes can not be moved at all, e.g. If true, nodes automatically can not be grabbed regardless of whether each node is marked as grabbable, e.g. Whether shift+click-and-drag box selection is enabled, e.g. Whether the zoom level of the graph is mutable by user gestures (e.g. Whether the zoom level of the graph is mutable overall, e.g. The maximum zoom level of the graph, e.g. The minimum zoom level of the graph, e.g. Whether the panning position of the graph is mutable by user gestures such as swiping, e.g. Whether the panning position of the graph is mutable overall, e.g. Viewport mutability & gesture toggling panningEnabled
0 Comments
Leave a Reply. |