Liking cljdoc? Tell your friends :D

hyperphor.alzabo.search.graph

DOM side of the index page: highlighting over the inline graph SVG and kind lists, and pan/zoom.

DOM side of the index page: highlighting over the inline graph SVG and kind lists, and pan/zoom.
raw docstring

by-idcljs

(by-id id)
source

element-kindcljs

(element-kind el)

Kind keyword for the graph node or list row containing el, if any.

Kind keyword for the graph node or list row containing `el`, if any.
sourceraw docstring

highlight!cljs

(highlight! adjacency center selected)

Mark center (a kind), its neighbours and incident edges in adjacency with .hl, dim the rest; mark selected.

Mark `center` (a kind), its neighbours and incident edges in `adjacency` with .hl, dim the rest; mark `selected`.
sourceraw docstring

install-pan-zoom!cljs

(install-pan-zoom! svg)

Wheel zooms, drag pans; a drag doesn't count as a click on a node.

Wheel zooms, drag pans; a drag doesn't count as a click on a node.
sourceraw docstring

install-side-toggle!cljs

(install-side-toggle!)

Add a draggable divider with a show/hide button for the side pane, restoring the saved state.

Add a draggable divider with a show/hide button for the side pane, restoring the saved state.
sourceraw docstring

reveal!cljs

(reveal! kind)

Pan so kind's node is centred, if it is not already fully visible.

Pan so `kind`'s node is centred, if it is not already fully visible.
sourceraw docstring

set-side-collapsed!cljs

(set-side-collapsed! collapsed?)
source

zoom!cljs

(zoom! svg f & [cx cy])

Scale the view by f (<1 zooms in) around client point cx, cy (default: centre).

Scale the view by `f` (<1 zooms in) around client point cx, cy (default: centre).
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close