All notable changes to this project will be documented in this file.
- Added
node_actions
parameter to allow users to list which node actions to enable (e.g.remove
,expand
, or both). (#28) - Added
caption
parameter forEdgeStyle
to allow users to specify which edge attribute to use as caption/label. (#30)
- Reduce use of
wait_for_timeout
in 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)
- Depreceated the use of
enable_node_actions
parameter.node_actions
should be used instead to enable node actions. Ifenable_node_actions
is set to True andnode_actions
is not provided, default actions ('remove', 'expand') will be enabled. (#28) - Depreceated the use of
labeled
parameter forEdgeStyle
.caption
should be used instead to specify edge caption/label. Iflabeled
is set to True andcaption
is not provided, default caption 'label' will be used. (#30)
- 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
Event
class and then passed to the component'sevents
parameter. (#14) - Preview of the list of supported icons in the demo. (#15).
- Enable node removal and expansion by passing
True
to theenable_node_actions
parameter. 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).
- Remove redundant "label" from infopanel props. The label is already displayed at the top of the infopanel.
- Rename
infobar
toinfopanel
- Refactor reusable css styles.
height
now can only be initialized once. Changing values requires remounting the component.
- Prevent last selected node's icon from showing when selecting an edge.
- Pass default layout parameters to cola and fcose layouts
- Disable infopanel from expanding when selecting multiple elements
- 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)
- Updated CSS styling (#7)
- Extended examples to include more functionality + documentation ()
- Examples in the module's directory
Initial release