Category:Structured SVG
Explanation
Mostly these files were created by skillful users who know what should be presented in the image precisely. They are in principle like good writen articles with a fixed technical syntax.
Sometimes these structured SVG-files spring of (semi-)manually drawn and where edited afterwards to simplify the structures.
Of course, all the files contained in this category should as well be Valid SVGs and not all images are appropriate for such a structured semantic coding.
By using the appropriate SVG elements, and avoiding all the superfluous garbage and path-heaps typically for tool drawn graphics, the file sizes are kept at a reasonable size. But the sizes to minimize is only a minor aspect, prior takes
- the coding reflects semantically the geometry of the picture
- the text / code is very readable and easy to edit
- embedding of useful comments.
An informative SVG in this sense is like a good technical construction sheet for the image!
The methods of drawing the graphics should be good through-thought (maybe of some educational value), giving hints to other users for solving different levels of complexity. Moreover a short explanation of numerical values (as long as SVG has no coordinate- and transformation-variables and abilities for basic calculations) if needed in parallel is nice.
This category will only be a subcategory of structured graphic code, which contains other graphic formats able of semantic coding of a geometric structur. A prominent example is Postscript, which is much more powerful, not good readable, widely used, but protected by law by Adobe for distributing own PS-renderers.
Hints for good coding philosophy in SVG
- Avoid to use <path>-statements overcrowded. Try to use it only for irregular shapes or shapes expensive in execution-time (in current SVG-versions). :-/ Else you could replace e.g. all <line>- and <rect>-statements by <path>-data typically saving a few characters. :-(

- For example, this ䷿ graphic can be drawn either with nine independent rectangles, or with one single path statement. With the rectangles it is better structured and has a size of 498 bytes, with one path this SVG-code is quicker when interpreted (but not dirty) and needs 222 bytes, 276 bytes less in source code.
- Experienced programmers even see further alternatives in-between. To call two more views: three-times (via the <use>-statement a repetition of <g>-grouping-coding of 3 rectangles or a path consisting of 3 disconnected parts or a mixture of it. The next possibilities spring in mind, if one notice the vertical mirror-symmetry of the pattern. Thus: Always YOUR skill is needed to decide what coding is apropriate in the actual context. :)
- You may see the different codes at the talk page of the file, the 3rd and the 5th file version.
- In general, coding everything with <path>-statements is like coding everything in assembler: (only a bit) faster, maybe much less coding-length, but dirty (much less readable). For two real-world examples of much usage, see the Tekbir in Flag of Iran.svg or the ornament in Flag of Belarus.svg.
- Use <g>-statements for grouping of statements you need more than once. E.g. rotation-repetitions.
- Explain non-obvious number-monsters by comment. :)
- Wisely used whitespaces increase readability strongly, don't worry if the raw file-size grows therefore.
- It is nice to have a <title>-element inside.
- Don't forget the <viewBox>-element and only use(set) the standalone-attribute (to "no") if there is really a further extern data-file needed for rendering this SVG-image.
- Decide whether to use relative coordinates instead of absolute in path-data attributes.
An example of bad coding (you see a string of numbers with a few letters):
<path d="M0-102c-2.2,0-3,3.3-3,6.5 0,8 1,12 3,23.5 2.04-11.5 3-15.6 3-23.5 0-3.3-1-6.5-3-6.5"/>
better (now you recognize at a glance what x- and what y-coordinates are):
<path d="M 0,-102 c -2.2,0 -3,3.3 -3,6.5 0,8 1,12 3,23.5 2.04,-11.5 3,-15.6 3,-23.5 0,-3.3 -1,-6.5 -3,-6.5"/>
and better (now you can recognize immediately what each single Bézier-curve triple is):
<path d="M 0,-102c -2.2,0 -3,3.3 -3,6.5c 0,8 1,12 3,23.5c 2.04,-11.5 3,-15.6 3,-23.5c 0,-3.3 -1,-6.5 -3,-6.5"/>
Files generated by SVG-tools
In contrast tools cannot recognize when simple geometric structures are needed, nor do they give attribution to centering, symmetry, parallelism, not to mention semantic structures in a graphic resp. image! Here your skill is demanded!
Tool drawn graphics often
- contain a lot of unnecessary prologue preamble,
- use very complex path structures for drawing the simplest elements,
- perform transformations (sometimes cascades of 5 or more) where they can easily avoided,
- specify up to 8 (sometimes 40!) decimal fractions, in most cases without any need (where integers will do well),
- specify style attributes redundantly because the values are implied,
- specify sometimes all the text-attributes where no text is anywhere, and
- create a lot of unreferenced IDs and groupings, comments and more.
By manually redrawing such a graphic it becomes easily a tenth or twentieth of the former file size.
Have also a look for simple example in the category Simplified SVG discussions.
Templates usage to mark high quality semanticly structured graphics
This can be done by two templates:
- You may use template {{Created with Text Editor}} or simply {{HandSVG}} with the parameter
3=Hto add your page to this category and to indicate how the SVG was made. - As well you may use {{SimplSVG}} with the parameter
5=H, especially when you replace another version, providing more possibilities to describe file size reduction.
Both templates can be equipped with more parameters for further category diffusion, as sc=flag|gl=SVG with the parameter sc indicating a subcategory and gl a certain graphic language with the default to be SVG.
Both templates generate via {{ValidSVG}} a link to the W3C validator:
With {{SimplSVG|3=000|4=example}} you may also mark single files or categories of files better to be drawn by hand.
Category:Created with Text Editor#%20 Category:SVG by technical featurePages in category "Category:Structured SVG"
- Category:SVG created with Wikimedia SVG Chart
- File:Targets of Kyudo 00.svg
- File:7x10 box packed with 2x5 bricks.svg
- File:Alternative Flag of Mauritania.svg
- File:Bag 2 DS Posk.svg
- File:Banner of Germany (1935–1945).svg
- File:Bin2svg example 2.svg
- File:Bin2svg example.svg
- File:Chrom - Trend Förderung.svg
- File:Deutsche Arbeitsfront.svg
- File:Disk pack5.svg
- File:Earth cutaway schematic-en.svg
- File:Earthship-ventilation-cooling-tube-schematic.svg
- File:FIAV 000000.svg
- File:FIAV 000001.svg
- File:FIAV 000010.svg
- File:FIAV 000011.svg
- File:FIAV 000100.svg
- File:FIAV 000101.svg
- File:FIAV 000110.svg
- File:FIAV 000111.svg
- File:FIAV 001000.svg
- File:FIAV 001001.svg
- File:FIAV 001010.svg
- File:FIAV 001011.svg
- File:FIAV 001100.svg
- File:FIAV 001101.svg
- File:FIAV 001110.svg
- File:FIAV 001111.svg
- File:FIAV 010000.svg
- File:FIAV 010001.svg
- File:FIAV 010010.svg
- File:FIAV 010011.svg
- File:FIAV 010100.svg
- File:FIAV 010101.svg
- File:FIAV 010110.svg
- File:FIAV 010111.svg
- File:FIAV 011000.svg
- File:FIAV 011001.svg
- File:FIAV 011010.svg
- File:FIAV 011011.svg
- File:FIAV 011100.svg
- File:FIAV 011101.svg
- File:FIAV 011110.svg
- File:FIAV 011111.svg
- File:FIAV 100000.svg
- File:FIAV 100001.svg
- File:FIAV 100010.svg
- File:FIAV 100011.svg
- File:FIAV 100100.svg
- File:FIAV 100101.svg
- File:FIAV 100110.svg
- File:FIAV 100111.svg
- File:FIAV 101000.svg
- File:FIAV 101001.svg
- File:FIAV 101010.svg
- File:FIAV 101011.svg
- File:FIAV 101100.svg
- File:FIAV 101101.svg
- File:FIAV 101110.svg
- File:FIAV 101111.svg
- File:FIAV 110000.svg
- File:FIAV 110001.svg
- File:FIAV 110010.svg
- File:FIAV 110011.svg
- File:FIAV 110100.svg
- File:FIAV 110101.svg
- File:FIAV 110110.svg
- File:FIAV 110111.svg
- File:FIAV 111000.svg
- File:FIAV 111001.svg
- File:FIAV 111010.svg
- File:FIAV 111011.svg
- File:FIAV 111100.svg
- File:FIAV 111101.svg
- File:FIAV 111110.svg
- File:Flag of Chad.svg
- File:Flag of Egypt (1972–1984).svg
- File:Flag of Egypt.svg
- File:Flag of Germany (1867–1918).svg
- File:Flag of Germany (1933–1935, 2-3).svg
- File:Flag of Germany (1935–1945, 3-2).svg
- File:Flag of Germany (1935–1945, reverse).svg
- File:Flag of Iran (1925-1979, vertical).svg
- File:Flag of Iran (3-2).svg
- File:Flag of Iran (official).svg
- File:Flag of Iran (vertical).svg
- File:Flag of Iran 2.svg
- File:Flag of Iran.svg
- File:Flag of Iraq.svg
- File:Flag of Libya (2011 combined).svg
- File:Flag of Libya (without crescent and star).svg
- File:Flag of Libya.svg
- File:Flag of Mali (1959–1961).svg
- File:Flag of Mali.svg
- File:Flag of Mauritania.svg
- File:Flag of North Korea (1948–1992) alternative colours tone version.svg
- File:Flag of North Korea (1948–1992).svg
- File:Flag of North Korea (alternative colours tone version 2).svg
- File:Flag of North Korea (alternative colours tone version).svg
- File:Flag of Rwanda (1961–2001).svg
- File:Flag of Saudi Arabia (type 2).svg
- File:Flag of Slovenia as Paths.svg
- File:Flag of Slovenia.svg
- File:Flag of South Korea (1946–1948).svg
- File:Flag of South Korea (1948–1949).svg
- File:Flag of South Korea (1949–1984).svg
- File:Flag of South Korea (1984–1997).svg
- File:Flag of Tajikistan.svg
- File:Flag of the Democratic Republic of the Congo (1997–2006).svg
- File:Flag of the Democratic Republic of the Congo.svg
- File:Flag of the Nationalsozialistischer Reichsbund für Leibesübungen.svg
- File:Flag of the People's Committee of Korea.svg
- File:Flag of the Republic of Abkhazia.svg
- File:Flag of the Republic of Honduras (1949-2022).svg
- File:Flag variant of Nazi Party (1923).svg
- File:Frauen Arbeitsdienst.svg
- File:Hamburger SV logo.svg
- File:Hitlerjugend Allgemeine Flagge.svg
- File:Lotsenflagge 1935.svg
- File:NSDStB Allgemeine Flagge.svg
- File:RAD Allgemeine Flagge.svg
- File:RAD Weibliche Jugend.svg
- File:Rayah al-Hijaz (Civil).svg
- File:Rayah al-Hijaz.svg
- File:Regular polygons meeting at vertex 4 4 4 4 4.svg
- File:Reichsbund für Leibesübungen.svg
- File:Roundel of North Korea (alternative colours tone version).svg
- File:Roundel of North Korea (type 2).svg
- File:Roundel of North Korea.svg
- File:Spiral-heat-exchanger-schematic-workaround.svg
- File:Spiral-heat-exchanger-schematic.svg
- File:Tramway-BKV-locator.svg
- File:Vertical Flag of North Korea (alternative colours tone version 2).svg
- File:Vertical Flag of North Korea (alternative colours tone version).svg
- File:Vertical Flag of North Korea.svg
- File:War Ensign of Germany (1867–1892).svg
- File:War Ensign of Germany (1892–1903).svg
- File:War Ensign of Germany (1903-1918) (Flaggenbuch).svg
- File:War Ensign of Germany (1933–1935).svg
- File:War Ensign of Germany (1935–1938).svg
- File:Wassersportflagge.svg
- File:Wicki-hayden-keyboard-layout.svg
- File:2007 Flag of Orkney.svg
- File:AFG Medal of Malalai Heroine of Maiwand Battle ribbon 144.svg
- File:Aiga bar.svg
- File:Alberta Heritage Savings Trust Fund value.svg
- File:Asian enrollment at Ivy League schools, 1980–2011.svg
- File:Asian enrollment at non-Ivy League elite schools, 1980–2011.svg
- File:Chessboard multicolored.svg
- File:Flag of Achtkarspelen.svg
- File:Flag of Brno (bordered).svg
- File:Flag of Brno.svg
- File:Flag of Romanian Pilot.svg
- File:Flag of New Zealand.svg
- File:Flag of Shetland.svg
- File:Flag of the Basotho National Party.svg
- File:Flag of the Czech Republic.svg
- File:3D Geometrical Figures 10.svg
- File:Disk pack13.svg
- File:Gerrit icon.svg
- File:Sylhet Royals colours.svg
- File:Historico femicidios Argentina desde 2008.svg
- File:India-demography.svg
- File:BY road sign 1.31.4.svg
- File:Shan National Democratic Party Flag.svg
- File:Kupfer - Trend Förderung.svg
- File:Lens Units sold.svg
- File:POL Odznaka Hon Zasluzony dla Woj Lubelskiego BAR.svg
- File:Orkney county flag.svg
- File:Pink copyright.svg
- File:Poundexclam.svg
- File:Proposed German National Flag 1919.svg
- File:SolubilityVsTemperature.svg
- File:Swire house flag.svg
- File:Viewdata-square-12.5-percent-thickness-and-overshoot.svg
- File:Zeichen Circle Template.svg
- File:(R)-(-)-amphetamine-2D-skeletal.svg
- File:(RS)-Lipoic acid molecular structure.svg
- File:1-bromoheptane.svg
- File:120-cell verf.svg
- File:16-cell verf.svg
- File:2,3,3triMethylPentane.svg
- File:2-Methylpentane 2.svg
- File:24 cell verf.svg
- File:3-methylpentane.svg
- File:3-méthylnonène-2.svg
- File:4-bromobutene.svg
- File:5-cell verf.svg
- File:600-cell verf.svg
- File:8-cell verf.svg
- File:8foldway.svg
- File:8values.svg
- File:Absolute configuration.svg
- File:Acetyl co-A wpmp.svg
- File:Alfa-D-fructosa.svg
- File:AlkenylGroups.svg
- File:AllCarbonPersulfurane.svg
- File:Allicin Biosynthesis.svg
- File:Alpha-D-Glucose4.svg
- File:Alpha-methyl phenethylamine.svg
- File:Alpha-Tomatine.svg
- File:Amph Pathway English.svg
- File:Amph pathway.svg
- File:Amyl acetate.svg
- File:AUS locator map with corners full.svg
- File:Australia four Corners surveyors etc.svg
- File:Australia-states-timezones.svg
- File:Azaspirodecane-ifa.svg
- File:Beta-D-glucose Haworth formula.svg
- File:Bitcoin-Genesis-block.svg
- File:Blowfish diagram.svg
- File:Blue red chequered.svg
- File:BMPfileFormat.svg
- File:Borazine-delocalised-2D.svg
- File:But-2-ene-hydration-2D-skeletal.svg
- File:Butane-condensed-structural-formulae.svg
- File:Butansaeure.svg
- File:Butyl butyrate2.svg
- File:Catch-22 flowchart (Hebrew).svg
- File:Catch-22 flowchart.svg
- File:Cellobiose skeletal.svg
- File:Cellobiose-Haworth.svg
- File:Cistin.svg
- File:Clerodine.svg
- File:CNX Chem 20 04 kevlar1.svg
- File:CoA6Cl3.svg
- File:Cocamidopropylbetainer.svg
- File:Complex polygon 4-4-2-stereographic3.svg
- File:Coordinate Covalent Bonding.svg
- File:Creating a matching.svg
- File:Cross-linked polyester from glyptal resin.svg
- File:Cubic honeycomb verf.svg
- File:Cubic honeycomb-1.svg
- File:Cubic honeycomb-1b.svg
- File:Cubic honeycomb-2.svg
- File:Cubic honeycomb-2b.svg
- File:Cubic honeycomb-3.svg
- File:Cubic honeycomb-3b.svg
- File:Cysteine-to-allicin-2D-skeletal.svg
- File:D-glucose-2D-skeletal-hexagon.svg
- File:D-glyceraldehyde-2D-skeletal.svg
- File:D-L- Glucose farbig V1.svg
- File:D-L-Fructose V1.svg
- File:DHA dimer monomer.svg
- File:Diaminobutane.svg
- File:Diamond cut history es.svg
- File:Diamond cut history.svg
- File:Dichlooretheen.svg
- File:Dihydrolipoic-acid.svg
- File:Dimethylpolysiloxan.svg
- File:Diminishing Returns Graph.svg
- File:Diminishing Returns Graphs.svg
- File:Diphenyl disulfide.svg
- File:Diphosphatidyl-Glycerol-Coloured.svg
- File:Ditran.svg
- File:DL-Fructose num.svg
- File:Ear.svg
- File:Electron correlation.svg
- File:Erythrose semi dev.svg
- File:Ethanolamine-2D-skeletal-B.svg
- File:Ethanolamine.svg
- File:Ethanolcram-newman.svg
- File:Ethyl-cinnamate.svg
- File:Ethyl-salicylate.svg
- File:Ethylene oxide.svg
- File:Ethylene polymerization.svg
- File:Ethylene-2D-skeletal.svg
- File:Ethylmagnesium bromide.svg
- File:False positives and false negatives.svg
- File:Fatty acid carbon numbering.svg
- File:Figure 11- a three by three grid.svg
- File:Figure 12- 12 possible paths to go one corner to the other diagonal corner.svg
- File:Figure 13- ZDD for the simple paths of a three by three grid.svg
- File:Figure 3 Elementary family in ZDD.svg
- File:Figure 4 ZDD family set.svg
- File:Figure 6 ZDD family.svg
- File:Figure4 Families in ZDD.svg
- File:Flag of Israel as Paths.svg
- File:Flag of Israel.svg
- File:Flag of Morocco (parametric version).svg
- File:Flag of Nazi Israel.svg
- File:Flag of the Philippines (1-1).svg
- File:Flag of the Philippines (1898–1901).svg
- File:Flag of the Philippines as Paths.svg
- File:Flag of the Philippines.svg
- File:Flag of the Provisional People’s Committee for North Korea.svg
- File:FOX-7 protolysis equilibrium.svg
- File:Fructose to trioses.svg
- File:Fructose-glycogen.svg
- File:Fructose-triglyceride.svg
- File:Fructose2.svg
- File:Fructosetransporter.svg
- File:Gamut full.svg
- File:Gamut nature.svg
- File:Gamut rgb.svg
- File:Globe eye icon.svg
- File:Glycine-2D-skeletal.svg
- File:Glycine-skeletal.svg
- File:Glyptal.svg
- File:Haworth to Fischer.svg
- File:Helonium 2D labelled.svg
- File:Heritage Language Learner.svg
- File:Hexane-2D-flat-A.svg
- File:Icosahedron petrie.svg
- File:IH Monogram with iota and eta superimposed.svg
- File:Inosine chemical structure.svg
- File:Isobutyl acetate.svg
- File:Isoprene-Structure.svg
- File:Isopropyl acetate.svg
- File:Isopropyl-group-2D-skeletal.svg
- File:Isopropyl-palmitate.svg
- File:Isoprè.svg
- File:Isoxazolidine.svg
- File:L-glyceraldehyde-2D-skeletal.svg
- File:Lang Status 00-All (nij).svg
- File:Lang Status 00-All.svg
- File:Lang Status 00-Blank.svg
- File:Lang Status 01-EX.svg
- File:Lang Status 20-CR.svg
- File:Lang Status 40-SE.svg
- File:Lang Status 60-DE.svg
- File:Lang Status 80-VU.svg
- File:Lang Status 99-NE (nij).svg
- File:Lang Status 99-NE.svg
- File:Lang Status List.svg
- File:M-en1.svg
- File:Maltose-3D.svg
- File:Metal-EDTA.svg
- File:Methyl cinnamate.svg
- File:Methyl formate.svg
- File:Methyl-phenylacetate.svg
- File:MethylCyclobutane.svg
- File:Mosterdgas1.svg
- File:Mosterdgas2.svg
- File:MUSTARD MECH CN.svg
- File:Mustard-dna.svg
- File:N-butane linear.svg
- File:NFT diagram.svg
- File:NFT ownership diagram.svg
- File:Ni(cod)2.svg
- File:NitrGen.svg
- File:Nurbsbasislin2.svg
- File:Nurbsbasisquad2.svg
- File:Order-3 icosahedral honeycomb verf.svg
- File:Order-5 cubic honeycomb verf.svg
- File:OrganosulfurLogo.svg
- File:Oxaliplatin-2D-skeletal.svg
- File:Oxazolin2.svg
- File:Pentanitroaniline.svg
- File:Pentyl propionate.svg
- File:Peracetic acid.svg
- File:Periodic sine-pt-br.svg
- File:Periodic sine.svg
- File:Phenols-to-thiophenols-via-NKR-2D-skeletal.svg
- File:Phenyl-group-circle-2D-skeletal.svg
- File:Phosphatidyl-Serine.svg
- File:Political chart.svg
- File:Poly(p-phenylene)-repeat-2D-skeletal.svg
- File:Polyacrylonitrile-PAN.svg
- File:Polyamine synthesis.svg
- File:PolyIsopreneCorrected.svg
- File:Prop-2-enyl hexanoate.svg
- File:Propyl groups.svg
- File:Propyl propanoate.svg
- File:Propylbutanoate.svg
- File:Pseudo miniDIN-10 Diagram.svg
- File:Pseudo miniDIN-10b Diagram.svg
- File:Pseudo miniDIN-7 Diagram.svg
- File:Pseudo miniDIN-8 Diagram.svg
- File:Pseudo miniDIN-8b Diagram.svg
- File:Pseudo miniDIN-9 Diagram.svg
- File:Pseudo miniDIN-9b Diagram.svg
- File:Pyrimidine chemical structure.svg
- File:Pyrrole chemical structure.svg
- File:R S configuration.svg
- File:R-allicin-2D-skeletal.svg
- File:R-butan-2-ol 2D skeletal.svg
- File:R-butan-2-ol-2D-skeletal.svg
- File:Relativesweetness.svg
- File:Resonance examples.svg
- File:RS-422 CableLength-DataRate.svg
- File:RS-422 Network.svg
- File:Rtriangle2.svg
- File:S-butan-2-ol 2D skeletal.svg
- File:S-butan-2-ol-2D-skeletal.svg
- File:Sawhorse projection butane -sc.svg
- File:Schlegel icosaèdre.svg
- File:SDS-2D-skeletal.svg
- File:Sec-butyl acetate.svg
- File:Shifting production function small.svg
- File:Showing a step of the two-opt heuristic.svg
- File:Skeletal-formulae-example-1-hexane.svg
- File:Skeletal-formulae-internal-double-bond.svg
- File:Skeletal-formulae-internal-triple-bond.svg
- File:Skeletal-formulae-terminal-double-bond.svg
- File:Skeletal-formulae-terminal-triple-bond.svg
- File:Sleeve insignia of the Black Corps.svg
- File:Spermidine-2D-skeletal.svg
- File:Stages of production small.svg
- File:Stenotype en layout.svg
- File:Stereochemistry-example-2D-skeletal-2.svg
- File:Structure of oxalate.svg
- File:Sucrase.svg
- File:Sulfur mustard.svg
- File:Sulfur-mustard-2D-skeletal.svg
- File:SulfurMustardSynthetisRoutes.svg
- File:SurveyorGeneralsCorner.svg
- File:Syllable body coda.svg
- File:Syllable initial final.svg
- File:Syllable initial medial rhyme.svg
- File:Syllable onset nucleus coda.svg
- File:Syllable onset rhyme.svg
- File:Synthesistomatine.svg
- File:Teletherapy Capsule 3.svg
- File:Tert-butyl formate.svg
- File:Tetrafluoroethylene2.svg
- File:Tetrahydrofuran from maleic acid.svg
- File:Thiophenol-2D.svg
- File:Thiophenol.svg
- File:Tiecano.svg
- File:TMTFA.svg
- File:Total, Average, and Marginal Product.svg
- File:Trig functions on unit circle.svg
- File:Trigonometrija-graf-pt-br.svg
- File:Trigonometrija-graf.svg
- File:U.s.sugarconsumption.2.svg
- File:UbMjAyAmQrSwtP0gdeKe matchingshortcut.svg
- File:Ugi Reaction Mechanism.svg
- File:Unit Circle Definitions of Six Trigonometric Functions-pt-br.svg
- File:Unit Circle Definitions of Six Trigonometric Functions.svg
- File:Varacin structure.svg
- File:Vb structuurformule 2-methylamino-ethanol anion.svg
- File:Vinylacetaat.svg
- File:War Flag of the Philippines.svg
- File:חץ עגול עם חצי ראש.svg
- File:חץ עגול עם ראש מלא.svg