diff --git a/foundations-high-performance-react.org b/foundations-high-performance-react.org index 393f9a3..2b6e64d 100644 --- a/foundations-high-performance-react.org +++ b/foundations-high-performance-react.org @@ -792,7 +792,7 @@ only the start of your High-Performance React journey. :EXPORT_FILE_NAME: manuscript/image-test.markua :END: #+name: workflow-diagram -#+begin_src dot :file "./images/high-level-workflow.png" :exports both +#+begin_src dot :file "./images/high-level-workflow.svg" :exports results :cmdline -Tsvg digraph { rankdir=TB; node [fontname="DejaVu Sans"]; @@ -821,4 +821,4 @@ only the start of your High-Performance React journey. #+end_src #+RESULTS: workflow-diagram -[[file:./images/high-level-workflow.png]] +[[file:./images/high-level-workflow.svg]] diff --git a/manuscript/image-test.markua b/manuscript/image-test.markua index 11278a4..4ba1515 100644 --- a/manuscript/image-test.markua +++ b/manuscript/image-test.markua @@ -1,34 +1,5 @@ # Image Test -{format: "dot", id: "workflow-diagram"} -``` -digraph { - rankdir=TB; - node [fontname="DejaVu Sans"]; - edge [fontname="DejaVu Sans"]; - files [label="Source files\n(Org doc, figures, etc.)", shape=oval]; - emacs [label="Emacs + org-mode", - fillcolor=purple, fontcolor=white, style=filled, shape=box]; - manuscript [label="Leanpub manuscript\n(Markua + other files)", - fillcolor=yellow, style=filled, shape=oval]; - leanpub [label="Leanpub", - fillcolor=blue, fontcolor=white, style=filled, shape=box]; - git [label="Git repo", fillcolor=red, style=filled, shape=box]; - preview [label="Book preview", - fillcolor=grey, style=filled, shape=oval]; - book [label="Book (PDF,\nePub, mobi, online)", - shape=oval, fillcolor=green, style=filled]; - files -> emacs [label="Edit"]; - emacs -> manuscript [label="Export"]; - manuscript -> git [label="Commit"]; - git -> leanpub [label="Typeset"]; - leanpub -> book [label="Publish"]; - book -> emacs [label="Update"]; - leanpub -> preview [label="Preview"]; - preview -> emacs [label="Update"]; -} -``` - -![](./images/high-level-workflow.png) +![](./images/high-level-workflow.svg) diff --git a/manuscript/resources/images/high-level-workflow.png b/manuscript/resources/images/high-level-workflow.png index e33bd24..d5b4702 100644 Binary files a/manuscript/resources/images/high-level-workflow.png and b/manuscript/resources/images/high-level-workflow.png differ diff --git a/manuscript/resources/images/high-level-workflow.svg b/manuscript/resources/images/high-level-workflow.svg new file mode 100644 index 0000000..7c1553d --- /dev/null +++ b/manuscript/resources/images/high-level-workflow.svg @@ -0,0 +1,114 @@ + + + + + + +%3 + + + +files + +Source files +(Org doc, figures, etc.) + + + +emacs + +Emacs + org-mode + + + +files->emacs + + +Edit + + + +manuscript + +Leanpub manuscript +(Markua + other files) + + + +emacs->manuscript + + +Export + + + +git + +Git repo + + + +manuscript->git + + +Commit + + + +leanpub + +Leanpub + + + +preview + +Book preview + + + +leanpub->preview + + +Preview + + + +book + +Book (PDF, +ePub, mobi, online) + + + +leanpub->book + + +Publish + + + +git->leanpub + + +Typeset + + + +preview->emacs + + +Update + + + +book->emacs + + +Update + + +