User Tools

Site Tools


svg_files

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
svg_files [2021/05/04 16:28]
arusso
svg_files [2021/12/14 10:58]
arusso
Line 1: Line 1:
 +**NOTE: This page has been replaced by https://authors.ietf.org/adding-diagrams**
 +
 ===== SVG Samples and Notes from Experience ===== ===== SVG Samples and Notes from Experience =====
  
-Sample files are located in this directory: https://www.rfc-editor.org/materials/format/svg/+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.
  
-The schema in use is here: [[https://svn.tools.ietf.org/svn/tools/xml2rfc/trunk/cli/xml2rfc/data/SVG-1.2-RFC.rnc|SVG-1.2-RFC.rnc]]+====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/rfc8989.html#figure-1|RFC 8989]] (Figures 1 - 4)   
 +  * Additional samples are here: https://www.rfc-editor.org/materials/format/svg/
  
-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]]
Line 129: Line 141:
 Positioning:  Positioning: 
 The ViewBox has x-min y-min The ViewBox has x-min y-min
-<code> +<code>
 x="0" y="0" width="100%" height="100%"/ x="0" y="0" width="100%" height="100%"/
 </code> </code>
svg_files.txt · Last modified: 2021/12/14 14:13 by arusso