Trying svg again.

master
Thomas Hintz 4 years ago
parent 20b62bcf94
commit 21d681ff09

@ -792,7 +792,7 @@ only the start of your High-Performance React journey.
:EXPORT_FILE_NAME: manuscript/image-test.markua :EXPORT_FILE_NAME: manuscript/image-test.markua
:END: :END:
#+name: render-tree-basic #+name: render-tree-basic
#+begin_src dot :file "./images/render-tree-basic.png" :exports results :cmdline -Tsvg | inkscape -w 128 -h 128 --export-filename render-tree-basic.png #+begin_src dot :file "./images/render-tree-basic.svg" :exports results :cmdline -Tsvg
digraph { digraph {
rankdir=TB; rankdir=TB;
node [fontname="DejaVu Sans"]; node [fontname="DejaVu Sans"];
@ -810,7 +810,7 @@ only the start of your High-Performance React journey.
#+caption: Figure {{{n(FIGURE)}}}: Tree of components #+caption: Figure {{{n(FIGURE)}}}: Tree of components
#+RESULTS: render-tree-basic #+RESULTS: render-tree-basic
[[file:./images/render-tree-basic.png]] [[file:./images/render-tree-basic.svg]]
As you can see in Figure {{{n(FIGURE, -)}}} when stage changes in component ~A~ As you can see in Figure {{{n(FIGURE, -)}}} when stage changes in component ~A~
component ~B~ will be re-rendered. component ~B~ will be re-rendered.

@ -1,7 +1,7 @@
# Image Test # Image Test
{caption: "Figure 1: Tree of components"} {caption: "Figure 1: Tree of components"}
![Figure 1: Tree of components](./images/render-tree-basic.png) ![Figure 1: Tree of components](./images/render-tree-basic.svg)
As you can see in Figure 1 when stage changes in component `A` component `B` will be re-rendered. As you can see in Figure 1 when stage changes in component `A` component `B` will be re-rendered.

Loading…
Cancel
Save