Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
svg_files [2021/06/15 14:25] arusso |
svg_files [2021/12/14 14:13] (current) arusso |
| **NOTE: This page has been replaced by https://authors.ietf.org/diagrams** |
| |
===== SVG Samples and Notes from Experience ===== | ===== SVG Samples and Notes from Experience ===== |
| |
The schema in use for SVG in RFCs is [[https://svn.tools.ietf.org/svn/tools/xml2rfc/trunk/cli/xml2rfc/data/SVG-1.2-RFC.rnc|SVG-1.2-RFC.rnc]]. Please see the [[https://www.rfc-editor.org/materials/FAQ-xml2rfcv3.html#name-how-do-i-generate-svg-that-|FAQ]] for more information. | The schema in use for SVG in RFCs is [[https://svn.ietf.org/svn/tools/xml2rfc/trunk/cli/xml2rfc/data/SVG-1.2-RFC.rnc|SVG-1.2-RFC.rnc]]. Please see the [[https://www.rfc-editor.org/materials/FAQ-xml2rfcv3.html#name-how-do-i-generate-svg-that-|FAQ]] for more information. |
| |
====Examples==== | ====Examples==== |
| * [[https://www.rfc-editor.org/rfc/rfc9115.html#figure-1|RFC 9115]] (Figures 1, 11 - 14) |
| * [[https://www.rfc-editor.org/rfc/rfc9100.html#figure-1|RFC 9100]] (Figure 1) |
| * [[https://www.rfc-editor.org/rfc/rfc9043.html#figure-4|RFC 9043]] (Figures 4 - 17, 22, 23, 29, 30) |
* [[https://www.rfc-editor.org/rfc/rfc8899.html#figure-1|RFC 8899]] (Figures 1 - 5) | * [[https://www.rfc-editor.org/rfc/rfc8899.html#figure-1|RFC 8899]] (Figures 1 - 5) |
* [[https://www.rfc-editor.org/rfc/rfc8989.html#figure-1|RFC 8989]] (Figures 1 - 4) | * [[https://www.rfc-editor.org/rfc/rfc8989.html#figure-1|RFC 8989]] (Figures 1 - 4) |
* Additional samples are here: https://www.rfc-editor.org/materials/format/svg/ | * Additional samples are here: https://www.rfc-editor.org/materials/format/svg/ |
| |
====Tools==== | ====Tools that can be used to generate an SVG file==== |
Tools that can be used to generate an SVG file: | * [[https://wiki.gnome.org/Apps/Dia|Dia]] -- Recommended so that text strings within the diagram are searchable and selectable. |
| * [[https://github.com/blampe/goat|GoAT: Go ASCII Tool]] |
| * Note: There's an issue with text strings within the diagram not being searchable or selectable. |
| * Here's [[https://mailarchive.ietf.org/arch/msg/rfc-interest/4wlkqfxZIFFPnvhHsmVwxthv_fE/2/|tune-goat-output.xslt]], a script from Julian Reschke for post-processing the SVG to mitigate the issue. |
* [[https://www.lucidchart.com/|LucidChart]] | * [[https://www.lucidchart.com/|LucidChart]] |
* [[https://www.omnigroup.com/omnigraffle|OmniGraffle]] | * [[https://www.omnigroup.com/omnigraffle|OmniGraffle]] |