Functions for the definition and handling of views.
Functions for the definition and handling of views.
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-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`.
(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.
Returns true if the content of element e
is rendered in the view
in the context of the model
.
Returns true if the content of element `e` is rendered in the `view` in the context of the `model`.
(include-spec view)
Returns the include specification for the view
.
Returns the include specification for the `view`.
(included-elements model view coll)
Takes the specified elements and includes the neccessary elements for the input spec.
Takes the specified elements and includes the neccessary elements for the input spec.
(layout-spec view)
Returns the layout specification for the view
.
Returns the layout specification for the `view`.
(legend-spec view)
Returns the legend specification for the view
.
Returns the legend specification for the `view`.
(linetype-spec view)
Returns the linetype specification for the view
.
Returns the linetype specification for the `view`.
(merged-elements model view)
Returns the model elements for the given view
which are selected by critera merged
with the content references. Preserves overrides of keys in the content references
included in the view.
Returns the model elements for the given `view` which are selected by critera merged with the content references. Preserves overrides of keys in the content references included in the view.
(referenced-elements model view)
Returns the relations explicitly referenced in the given view
.
Returns the relations explicitly referenced in the given `view`.
(referenced-nodes model view)
Returns the model nodes explicitly referenced in the given view
.
Returns the model nodes explicitly referenced in the given `view`.
(referenced-relations model view)
Returns the relations explicitly referenced in the given view
.
Returns the relations explicitly referenced in the given `view`.
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`.
(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.
(rendered-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`.
(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.
(selected-elements model view)
Returns the model elements selected by criteria for the view
.
Returns the model elements selected by criteria for the `view`.
(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
.
Returns the sketch specification for the `view`.
(specified-elements model view)
Returns the model elements and relations explicitly specified in the view
.
Takes the view spec into account for resolving relations not explicitly referenced.
Returns the model elements and relations explicitly specified in the `view`. Takes the view spec into account for resolving relations not explicitly referenced.
(specified-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.
(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.
(styles-spec model view)
Returns the styles specification for the model
and the view
.
Returns the styles specification for the `model` and the `view`.
(technologies-in-view model view)
Returns the technologies in the view
.
Returns the technologies in the `view`.
(themes->styles model view)
Returns the vector of styles from the themes of the given view
.
Returns the vector of styles from the themes of the given `view`.
(view-type view)
(view-type model view)
(view-type model view & _)
Returns the type of the view
.
Returns the type of the `view`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close