Skip to main content
Engineering LibreTexts

11.13: Chapter Summary

  • Page ID
    45945
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Mondrian enables any graph of objects to be visualized. This chapter has reviewed the main features of Mondrian:

    • The most common way to define nodes is with nodes: and edges with edgesFrom:, edges:from:to: and edges:from:toAll:.
    • A whole range of layout is offered. The most common layouts are accessible by sending circleLayout, treeLayout, gridLayout to a view.
    • A shape defines the graphical aspect of an element. Height and width are commonly set with height: and width:, respectively.
    • A shape is colored with borderColor: and fillColor:.
    • Information may be popped up with popupText: and popupView:.
    • A subview is defined with nodes:forEach: and node:forIt:.
    • Events of a sub-node is forwarded to its parent with forward and forward:.
    • Highlighting is available with highlightWhenOver:, which takes a one-arg block that has to return the list of nodes to highlight.

    This chapter was about the Mondrian domain specific language. Mondrian is an older visualization framework developed by Tudor Girba and Michael Meyer in 2005. Mondrian has been maintained from 2008 until 2009 by Alexandre Bergel.

    Acknowledgment. We are very grateful to Nicolas Rosselot Urrejola for his review of an early draft of the chapter.


    This page titled 11.13: Chapter Summary is shared under a CC BY-SA 3.0 license and was authored, remixed, and/or curated by Alexandre Bergel, Damien Cassou, Stéphane Ducasse, Jannik Laval (Square Bracket Associates) via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.