a small toy to render graph with text