# Concept map

> A small mind map of photosynthesis: what goes in and what comes out. A Mind maps example with its complete LaTeX source, ready to copy or open in TeXeR.

A Mind maps example in the TeXeR TikZ library: https://texer.org/library/mindmap/concept-map

Package: [Mind maps](https://texer.org/library/mindmap.md), on CTAN at https://ctan.org/pkg/pgf.

Tags: concept map, biology, mind map

## Source

```latex
\usetikzlibrary{mindmap}

\begin{tikzpicture}[
  small mindmap, grow cyclic,
  every node/.style={concept, execute at begin node=\hskip0pt},
  concept color=green!50!black, text=white,
  level 1/.append style={level distance=2.6cm, sibling angle=120},
  level 2/.append style={level distance=1.9cm, sibling angle=50},
]
  \node {Photo\-synthesis}
  child[concept color=blue!70!black] { node {Inputs}
    child { node {Light} }
    child { node {Water} }
    child { node {CO$_2$} }
  }
  child[concept color=orange!85!black] { node {Outputs}
    child { node {Glucose} }
    child { node {O$_2$} }
  }
  child[concept color=teal!80!black] { node {Where}
    child { node {Leaves} }
    child { node {Chloro\-plasts} }
  };
\end{tikzpicture}
```

## As a complete document

The same example in a document that compiles on its own with pdfLaTeX:

```latex
\documentclass[margin=3mm]{standalone}
\usepackage{tikz}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{amssymb}
\usetikzlibrary{mindmap}

\begin{document}

\begin{tikzpicture}[
  small mindmap, grow cyclic,
  every node/.style={concept, execute at begin node=\hskip0pt},
  concept color=green!50!black, text=white,
  level 1/.append style={level distance=2.6cm, sibling angle=120},
  level 2/.append style={level distance=1.9cm, sibling angle=50},
]
  \node {Photo\-synthesis}
  child[concept color=blue!70!black] { node {Inputs}
    child { node {Light} }
    child { node {Water} }
    child { node {CO$_2$} }
  }
  child[concept color=orange!85!black] { node {Outputs}
    child { node {Glucose} }
    child { node {O$_2$} }
  }
  child[concept color=teal!80!black] { node {Where}
    child { node {Leaves} }
    child { node {Chloro\-plasts} }
  };
\end{tikzpicture}
\end{document}
```
