Public API with useful functions on top of the view for use in templates. (Not yet stable!)
Public API with useful functions on top of the view for use in templates. (Not yet stable!)
(element-to-render model view e)
Returns the model element to be rendered for element e
for the view
in the context of the model
.
Maps some elements to other elements (e.g. boundaries), depending on the type of view.
Returns the model element to be rendered for element `e` for the `view` in the context of the `model`. Maps some elements to other elements (e.g. boundaries), depending on the type of view.
(elements-to-render model view)
(elements-to-render model view coll)
Returns the list of elements to render from the view
or the given coll
of elements, depending on the type of the view.
Returns the list of elements to render from the `view` or the given `coll` of elements, depending on the type of the view.
(expand-external-spec view)
Returns the expand external specification for the view
.
Returns the expand external specification for the `view`.
(graphviz-spec view)
Returns the graphviz specification for the view
.
Returns the graphviz specification for the `view`.
(include-spec view)
Returns the include specification for the view
. Defaults to :referenced-only.
Returns the include specification for the `view`. Defaults to :referenced-only.
(layout-spec view)
Returns the layout specification for the view
. Defaults to :top-down.
Returns the layout specification for the `view`. Defaults to :top-down.
(legend-spec view)
Returns the legend specification for the view
. Defaults to true.
Returns the legend specification for the `view`. Defaults to true.
(linetype-spec view)
Returns the linetype specification for the view
. Defaults to :polygonal.
Returns the linetype specification for the `view`. Defaults to :polygonal.
(plantuml-spec view)
Returns the plantuml specification for the view
.
Returns the plantuml specification for the `view`.
(render-model-element? model view e)
Returns true if the element e
is rendered in the view
in the context of the model
.
Returns true if the element `e` is rendered in the `view` in the context of the `model`.
(root-elements model elements)
Returns the root elements for a collection of model
elements
to start the rendering of the view
with.
Returns the root elements for a collection of `model` `elements` to start the rendering of the `view` with.
(selection-spec view)
Returns the selection specification for the view
.
Returns the selection specification for the `view`.
(sketch-spec view)
Returns the sketch specification for the view
. Defaults to false.
Returns the sketch specification for the `view`. Defaults to false.
(styles-spec model view)
Returns the styles specification for the model
and the view
.
Returns the styles specification for the `model` and the `view`.
(themes-spec view)
Returns the themes specification for the view
.
Returns the themes specification for the `view`.
(title v)
Returns the title of the view v
, uses the name, if no title is set.
Returns the title of the view `v`, uses the name, if no title is set.
(view-elements model view)
Returns the model
elements specified for the given view
.
Returns the `model` elements specified for the given `view`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close