Liking cljdoc? Tell your friends :D

clograms.re-grams.re-grams


(add-link db [from-node from-port :as from] [to-node to-port :as to])

add-nodecljs

(add-node db
          {:keys [:client-x :client-y :x :y :w :h
                  :clograms.re-grams.re-grams/id]
           :as data})

add-node-to-selectioncljs

(add-node-to-selection db node-id)

If node isn't selected add it to selection, if it is already part of selection remove it.

If node isn't selected add it to selection, if it is already part of selection remove it.
raw docstring

arrow-markerscljs

(arrow-markers)

build-node-click-handlercljs

(build-node-click-handler n)

build-node-mouse-down-handlercljs

(build-node-mouse-down-handler n)

build-svg-node-resizer-handlercljs

(build-svg-node-resizer-handler n)

clear-nodes-selectioncljs

(clear-nodes-selection db)

client-coord->dia-coordcljs

(client-coord->dia-coord {:keys [translate scale]} [client-x client-y])

(curve-link {:keys [x1 y1 x2 y2 arrow-start? arrow-end?]})

debugcljs


debug-barcljs

(debug-bar scale translate)

default-nodecljs

(default-node props)

dia-coord->client-coordcljs

(dia-coord->client-coord {:keys [translate scale]} [dia-x dia-y])

diagramcljs

(diagram dia)

div-nodecljs

(div-node n)

div-nodes-componentscljs

(div-nodes-components)

dragcljs

(drag db current-cli-coord)

drag-nodescljs

(drag-nodes db grab-node-id [drag-x drag-y])

gen-random-idcljs

(gen-random-id)

get-nodecljs

(get-node db node-id)

grabcljs

(grab db grab-obj client-grab-origin)

grab-releasecljs

(grab-release db)

initial-dbcljs

(initial-db)

left-buttoncljs


(line-link {:keys [arrow-start? arrow-end? x1 y1 x2 y2]})

(link nodes {:keys [from-port to-port] :as l})


(link-curve-string [[fpx fpy] & points])

max-scalecljs


min-scalecljs


node-componentscljs


node-debugcljs

(node-debug {:keys [x y w h] :as node})

node-extra-datacljs

(node-extra-data db node-id)

node-portscljs

(node-ports node)

portcljs

(port node p)

port-positioncljs

(port-position node port-id)

(register-link-component! link-type component-fn)

register-node-component!cljs

(register-node-component! node-type comp-desc)

(remove-link db link-id)

remove-nodecljs

(remove-node db node-id)

remove-node-from-selectioncljs

(remove-node-from-selection db node-id)

right-buttoncljs


select-single-nodecljs

(select-single-node db node-id)

Leave this node as the only selected node, unless it is part of the current selection. In that case it is a nop.

Leave this node as the only selected node, unless it is part of the current selection.
In that case it is a nop.
raw docstring

selected-nodescljs

(selected-nodes db)

selected-nodes-idscljs

(selected-nodes-ids db)

(set-link-config db link-config)

(set-link-label db link-id label)

(set-link-type db link-type)

set-node-dimensionscljs

(set-node-dimensions db node-id {:keys [w h]})

set-node-extra-datacljs

(set-node-extra-data db node-id extra-data)

set-port-dimensionscljs

(set-port-dimensions db node-id port-id {:keys [w h client-x client-y]})

svg-nodecljs

(svg-node n)

svg-nodes-comparatorcljs

(svg-nodes-comparator type1 type2)

svg-nodes-componentscljs

(svg-nodes-components)

svg-port-sidecljs


translate-diagramcljs

(translate-diagram db to)

zoomcljs

(zoom db delta [client-center-x client-center-y :as cli-coords])

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close