This package exports components allowing the deployment of a UI containing data controls, widget filters and an interactive timeline wrapping around and controlling a libp2p Observer widget.
A context-driven component needing no props listing buttons showing and allowing changes to the currently loaded data:
DataTypeControl
shows the current datasource
fromSourceContext
and allows different data to be loaded or a live websocket connection to be paused.GlobalFilterControl
shows how many global filters are currently active and allows these to be set and unset.FileDownload
allows the current dataset shared byDataProvider
to be exported as a binary file and shows the size of that file- Peer Id of the current runtime message is shown and can be copied to the clipboard
RuntimeInfo
shows system info about the system supplying the libp2p Introspection data and allows signals to be sent changing runtime settings.
A component showing any currently selected data and allowing new sample, file or websocket-based data to be selected and loaded.
handleNewData
prop is an optional callback function called without arguments when a new data source has been loaded.
DataTrayItem
wraps an individual type of data source in animated controlsSamplesList
provides a UI for choosing pre-made sample dataUploadDataButton
provides a UI for choosing or drag-and-dropping a binary data file to uploadWebSocketInput
provides a UI for entering and connecting to a websocket URL
A visualisation of states data dispatched by DataProvider
showing data in and data out over time, combined with a slider control for selecting a current state and filtering widgets to show only data before the selected state.
TimelintPaths
draws an SVG area chartTimeSlider
restyles the SDK slider componentTimeTicks
labels the timeline's X axisDataTicks
labels the timeline's Y axis
A common header for open libp2p Introspection widgets, including name, expandable description, close icon and filter controls.
FiltersButton
displays how many filters are active and toggles the visibility of theFiltersTray
FiltersTray
displays available filters for this widget
A styled wrapper for WidgetHeader
and the accompanying widget.
A styled wrapper for the DataPanel
, DataTray
and Timeline
.