Liking cljdoc? Tell your friends :D

org.soulspace.overarch.domain.view

Functions for the definition and handling of views.

Functions for the definition and handling of views.
raw docstring

element-to-rendercljmultimethod

Returns the model element to be rendered for element e for the view. 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`.
Maps some elements to other elements (e.g. boundaries), depending on the type of view.
sourceraw docstring

elements-in-viewclj

(elements-in-view model view)
(elements-in-view model elements view coll)

Returns the elements rendered in the view.

Returns the elements rendered in the view.
sourceraw docstring

elements-to-renderclj

(elements-to-render model view)
(elements-to-render model view coll)

Returns the list of elements to render from the view or the given collection of elements, depending on the type of the view.

Returns the list of elements to render from the view
or the given collection of elements, depending on the type
of the view.
sourceraw docstring

get-viewclj

(get-view model id)

Returns the view with the given id from the model.

Returns the view with the given `id` from the `model`.
sourceraw docstring

get-viewsclj

(get-views model)

Returns the collection of views from the model.

Returns the collection of views from the `model`.
sourceraw docstring

include-content?cljmultimethod

Returns true if the content of element e is rendered in the view

Returns true if the content of element `e` is rendered in the `view`
sourceraw docstring

include-specclj

(include-spec view)

Returns the include specification for the view.

Returns the include specification for the `view`.
sourceraw docstring

layout-specclj

(layout-spec view)

Returns the layout specification for the view.

Returns the layout specification for the `view`.
sourceraw docstring

referenced-elementsclj

(referenced-elements model view)

Returns the relations explicitly referenced in the given view.

Returns the relations explicitly referenced in the given view.
sourceraw docstring

referenced-model-nodesclj

(referenced-model-nodes model view)

Returns the model nodes explicitly referenced in the given view.

Returns the model nodes explicitly referenced in the given view.
sourceraw docstring

referenced-relationsclj

(referenced-relations model view)

Returns the relations explicitly referenced in the given view.

Returns the relations explicitly referenced in the given view.
sourceraw docstring

relation-to-renderclj

(relation-to-render model view rel)

Returns the relation to be rendered in the context of the view.

Returns the relation to be rendered in the context of the view.
sourceraw docstring

render-element?clj

(render-element? model view e)

Returns true if the element is should be rendered for this view type. Checks both sides of a relation.

Returns true if the element is should be rendered for this view type.
Checks both sides of a relation.
sourceraw docstring

render-model-element?cljmultimethod

Returns true if the element e is rendered in the view

Returns true if the element `e` is rendered in the `view`
sourceraw docstring

render-relation-node?cljmultimethod

Returns true if the node will

Returns true if the node will
sourceraw docstring

render-relation?clj

(render-relation? model rel pred)

Returns true if the relation should be rendered in the context of the view.

Returns true if the relation should be rendered in the context of the view.
sourceraw docstring

rendered-elementsclj

(rendered-elements model view)

Returns the model elements to be rendered by the given view. Takes the view spec into account for resolving model elements not explicitly specified.

Returns the model elements to be rendered by the given view.
Takes the view spec into account for resolving model elements not explicitly specified.
sourceraw docstring

rendered-model-nodesclj

(rendered-model-nodes model view)

Returns the model nodes to be rendered by the given view.

Returns the model nodes to be rendered by the given view.
sourceraw docstring

rendered-relationsclj

(rendered-relations model view)

Returns the relations to be rendered by the given view. Takes the view spec into account for resolving relations not explicitly specified.

Returns the relations to be rendered by the given view.
Takes the view spec into account for resolving relations not explicitly specified.
sourceraw docstring

specified-elementsclj

(specified-elements model view)

Returns the model elements and relations explicitly specified in the given view. Takes the view spec into account for resolving relations not explicitly referenced.

Returns the model elements and relations explicitly specified in the given view.
Takes the view spec into account for resolving relations not explicitly referenced.
sourceraw docstring

specified-model-nodesclj

(specified-model-nodes model view)

Returns the model nodes specified in the given view. Takes the view spec into account for resolving model nodes not explicitly referenced.

Returns the model nodes specified in the given view.
Takes the view spec into account for resolving model nodes not explicitly referenced.
sourceraw docstring

specified-relationsclj

(specified-relations model view)

Returns the relations specified in the given view. Takes the view spec into account for resolving relations not explicitly referenced.

Returns the relations specified in the given view.
Takes the view spec into account for resolving relations not explicitly referenced.
sourceraw docstring

styles-specclj

(styles-spec model view)

Returns the styles specification for the model and the view.

Returns the styles specification for the `model` and the `view`.
sourceraw docstring

technologies-in-viewclj

(technologies-in-view model view)

Returns the technologies in the view.

Returns the technologies in the view.
sourceraw docstring

themes->stylesclj

(themes->styles model view)
source

view-typeclj

(view-type view)
(view-type view & _)

Returns the type of the view.

Returns the type of the `view`.
sourceraw docstring

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

× close