Skip to content

Commit

Permalink
update documentation for drawing concept lattices
Browse files Browse the repository at this point in the history
  • Loading branch information
jana-fischer authored and tomhanika committed Apr 26, 2022
1 parent 0a76d33 commit 8ded7ce
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doc/Concept-Lattices.org
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ The layout used by ~draw-lattice~ is defined in ~standard-layout~. Other
layouts can be provided to ~draw-lattice~ as an additional argument

#+begin_src clojure :results silent
(draw-concept-lattice (concept-lattice (adiag-context 2))
(draw-lattice (concept-lattice (adiag-context 2))
:layout-fn inf-additive-layout)
#+end_src

Expand All @@ -160,11 +160,14 @@ provided by the ~:value-fn~ argument. The following example annotates
the extent size.

#+begin_src clojure :results silent
(draw-concept-lattice (concept-lattice (adiag-context 2))
(draw-lattice (concept-lattice (adiag-context 2))
:layout-fn inf-additive-layout
:value-fn (comp count first))
#+end_src

The evaluations defined via ~:value-fn~ are displayed after the labels are
switched on.

#+caption: Lattice Editor Example
[[./images/draw-lattice-02.png]]

Expand Down

0 comments on commit 8ded7ce

Please sign in to comment.