Releases: AlrasheedA/st-link-analysis
Releases · AlrasheedA/st-link-analysis
v0.4.0
Added
- Support for the Dagre layout by including the
cytoscape-dagredependency.
Thanks to @drachenbach for the PR. (#39) - 9 new Material icons to frontend assets. (#47)
- Support for dynamically loading debug pages from the
examples/debug/directory in demo'sapp.py - mypy in the development workflow. Updated type hints throughout the codebase.
Fixed
- Prevent accumulating multiple
.svgextensions on repeated calls ofdump
method with the same initialization ofNodeStyle(#48)
Changed
- Increased the minimum required Python version to 3.9.
- Updated frontend dependencies in
package.jsonandpackage-lock.json. - Added test-related packages under the
[project.optional-dependencies.dev]
section inpyproject.toml. - Updated
README.mdto installing development dependencies using
pip install -e ".[dev]"instead ofpip install -r tests/requirements.txt
Full Changelog: v0.3.0...v0.4.0
v0.3.0
Added
- Added
node_actionsparameter to allow users to list which node actions to enable (e.g.remove,expand, or both). (#28) - Added
captionparameter forEdgeStyleto allow users to specify which edge attribute to use as caption/label. (#30)
Changed
- Reduce use of
wait_for_timeoutin tests by replacing it with selectors where appropriate, allowing Playwright to handle waiting automatically. (#25) - Add pytest reruns to to avoid manual retrying of CI flaky tests. (#25)
Deprecated
- Depreceated the use of
enable_node_actionsparameter.node_actionsshould be used instead to enable node actions. Ifenable_node_actionsis set to True andnode_actionsis not provided, default actions ('remove', 'expand') will be enabled. (#28) - Depreceated the use of
labeledparameter forEdgeStyle.captionshould be used instead to specify edge caption/label. Iflabeledis set to True andcaptionis not provided, default caption 'label' will be used. (#30)
v0.2.0
Added
- Enable passing a list of events to listen to. When any of these events are triggered, the event information is sent back to the Streamlit app as the component's return value. The list of events can be defined using instances of the
Eventclass and then passed to the component'seventsparameter. (#14) - Preview of the list of supported icons in the demo. (#15).
- Enable node removal and expansion by passing
Trueto theenable_node_actionsparameter. Removal is triggered by delete keydown or remove button click. Expansion is triggered by node double click or expand button click. When any of these events are triggered the event is sent back along with selected node IDs to the Streamlit app as the component's return value (#21).
Changed
- Remove redundant "label" from infopanel props. The label is already displayed at the top of the infopanel.
- Rename
infobartoinfopanel - Refactor reusable css styles.
heightnow can only be initialized once. Changing values requires remounting the component.
Fixed
- Prevent last selected node's icon from showing when selecting an edge.
- Pass default layout paramters to cola and fcose layouts
- Disable infopanel from expanding when selecting multiple elements
v0.1.0
Added
- Changelog
- fcose and cola layout support (#10)
- Viewbar frontend component for zooming, fitting, and centering the view (#8)
- Github workflow for PRs
- README development instructions
- Python linting and testing (Ruff & playwright-pytest)
- Node formatting and linting (Prettier & ESLint)
Changed
- Updated CSS styling (#7)
- Extended examples to include more functionality + documentation ()
Removed
- Example in the module the directory
v0.0.1
Marking initial release.