selection_rendering

selection_rendering#

Rendering logic for selections and selected objects in treescope.

Classes

SelectedNodeTracker

Tracks the set of selected nodes, and makes sure we render them correctly.

SelectionBoundaryBox

A highlighted box that identifies a part as being selected.

SelectionBoundaryLabel

A comment identifying this part as being selected.

SelectionBoundaryTag

A tag that can be used to identify selected nodes.

SelectionTaggedGroup

Tags its child as being selected.

Functions

display_selection_streaming(selection[, ...])

Displays a top-level selection object in IPython.

render_selection_to_foldable_representation(...)

Renders a top-level selection object to its foldable representation.