blockdiagcontrib-nationalflags

A plugin for blockdiag that provides shapes for national-flags. The shapes are using National Flags images provided by Wikipedia .

Diagram examples

blockdiagcontrib-nationalflags renders network icon as node’s shape.

Example:

diagram admin {
  A [shape = "nationalflag.japan"];
}

diagram admin {
  A [shape = "nationalflag.japan"];
}

Or, use shape_namespace keyword:

diagram admin {
  shape_namespace = "nationalflag";

  A [shape = "japan"];
}

diagram admin {
  shape_namespace = "nationalflag";

  A [shape = "japan"];
}

See more examples and output images in http://packages.python.org/blockdiagcontrib-nationalflags/ .

Requirements

  • blockdiag 0.9.1 or later

License

Python Software Foundation License.

Shapes

shape = “nationalflag.greece”

{ A [label = "", shape = "nationalflag.greece"]; }

shape = “nationalflag.lebanon”

{ A [label = "", shape = "nationalflag.lebanon"]; }

shape = “nationalflag.estonia”

{ A [label = "", shape = "nationalflag.estonia"]; }

shape = “nationalflag.panama”

{ A [label = "", shape = "nationalflag.panama"]; }

shape = “nationalflag.morocco”

{ A [label = "", shape = "nationalflag.morocco"]; }

shape = “nationalflag.burkina_faso”

{ A [label = "", shape = "nationalflag.burkina_faso"]; }

shape = “nationalflag.belize”

{ A [label = "", shape = "nationalflag.belize"]; }

shape = “nationalflag.nicaragua”

{ A [label = "", shape = "nationalflag.nicaragua"]; }

shape = “nationalflag.iran”

{ A [label = "", shape = "nationalflag.iran"]; }

shape = “nationalflag.hungary”

{ A [label = "", shape = "nationalflag.hungary"]; }

shape = “nationalflag.palestine”

{ A [label = "", shape = "nationalflag.palestine"]; }

shape = “nationalflag.saint_vincent_and_the_grenadines”

{ A [label = "", shape = "nationalflag.saint_vincent_and_the_grenadines"]; }

shape = “nationalflag.guatemala”

{ A [label = "", shape = "nationalflag.guatemala"]; }

shape = “nationalflag.maldives”

{ A [label = "", shape = "nationalflag.maldives"]; }

shape = “nationalflag.mexico”

{ A [label = "", shape = "nationalflag.mexico"]; }

shape = “nationalflag.senegal”

{ A [label = "", shape = "nationalflag.senegal"]; }

shape = “nationalflag.armenia”

{ A [label = "", shape = "nationalflag.armenia"]; }

shape = “nationalflag.samoa”

{ A [label = "", shape = "nationalflag.samoa"]; }

shape = “nationalflag.japan”

{ A [label = "", shape = "nationalflag.japan"]; }

shape = “nationalflag.transnistria”

{ A [label = "", shape = "nationalflag.transnistria"]; }

shape = “nationalflag.lesotho”

{ A [label = "", shape = "nationalflag.lesotho"]; }

shape = “nationalflag.the_democratic_republic_of_the_congo”

{ A [label = "", shape = "nationalflag.the_democratic_republic_of_the_congo"]; }

shape = “nationalflag.guinea_bissau”

{ A [label = "", shape = "nationalflag.guinea_bissau"]; }

shape = “nationalflag.honduras”

{ A [label = "", shape = "nationalflag.honduras"]; }

shape = “nationalflag.rwanda”

{ A [label = "", shape = "nationalflag.rwanda"]; }

shape = “nationalflag.latvia”

{ A [label = "", shape = "nationalflag.latvia"]; }

shape = “nationalflag.georgia”

{ A [label = "", shape = "nationalflag.georgia"]; }

shape = “nationalflag.switzerland”

{ A [label = "", shape = "nationalflag.switzerland"]; }

shape = “nationalflag.somalia”

{ A [label = "", shape = "nationalflag.somalia"]; }

shape = “nationalflag.grenada”

{ A [label = "", shape = "nationalflag.grenada"]; }

shape = “nationalflag.belarus”

{ A [label = "", shape = "nationalflag.belarus"]; }

shape = “nationalflag.east_timor”

{ A [label = "", shape = "nationalflag.east_timor"]; }

shape = “nationalflag.peru”

{ A [label = "", shape = "nationalflag.peru"]; }

shape = “nationalflag.monaco”

{ A [label = "", shape = "nationalflag.monaco"]; }

shape = “nationalflag.iraq”

{ A [label = "", shape = "nationalflag.iraq"]; }

shape = “nationalflag.venezuela_(state)”

{ A [label = "", shape = "nationalflag.venezuela_(state)"]; }

shape = “nationalflag.kazakhstan”

{ A [label = "", shape = "nationalflag.kazakhstan"]; }

shape = “nationalflag.slovenia”

{ A [label = "", shape = "nationalflag.slovenia"]; }

shape = “nationalflag.belgium”

{ A [label = "", shape = "nationalflag.belgium"]; }

shape = “nationalflag.spain”

{ A [label = "", shape = "nationalflag.spain"]; }

shape = “nationalflag.the_united_states”

{ A [label = "", shape = "nationalflag.the_united_states"]; }

shape = “nationalflag.finland”

{ A [label = "", shape = "nationalflag.finland"]; }

shape = “nationalflag.australia”

{ A [label = "", shape = "nationalflag.australia"]; }

shape = “nationalflag.trinidad_and_tobago”

{ A [label = "", shape = "nationalflag.trinidad_and_tobago"]; }

shape = “nationalflag.myanmar”

{ A [label = "", shape = "nationalflag.myanmar"]; }

shape = “nationalflag.paraguay”

{ A [label = "", shape = "nationalflag.paraguay"]; }

shape = “nationalflag.barbados”

{ A [label = "", shape = "nationalflag.barbados"]; }

shape = “nationalflag.kosovo”

{ A [label = "", shape = "nationalflag.kosovo"]; }

shape = “nationalflag.cuba”

{ A [label = "", shape = "nationalflag.cuba"]; }

shape = “nationalflag.qatar”

{ A [label = "", shape = "nationalflag.qatar"]; }

shape = “nationalflag.pakistan”

{ A [label = "", shape = "nationalflag.pakistan"]; }

shape = “nationalflag.south_ossetia”

{ A [label = "", shape = "nationalflag.south_ossetia"]; }

shape = “nationalflag.angola”

{ A [label = "", shape = "nationalflag.angola"]; }

shape = “nationalflag.russia”

{ A [label = "", shape = "nationalflag.russia"]; }

shape = “nationalflag.sweden”

{ A [label = "", shape = "nationalflag.sweden"]; }

shape = “nationalflag.kuwait”

{ A [label = "", shape = "nationalflag.kuwait"]; }

shape = “nationalflag.nagorno_karabakh”

{ A [label = "", shape = "nationalflag.nagorno_karabakh"]; }

shape = “nationalflag.jamaica”

{ A [label = "", shape = "nationalflag.jamaica"]; }

shape = “nationalflag.uzbekistan”

{ A [label = "", shape = "nationalflag.uzbekistan"]; }

shape = “nationalflag.canada”

{ A [label = "", shape = "nationalflag.canada"]; }

shape = “nationalflag.chile”

{ A [label = "", shape = "nationalflag.chile"]; }

shape = “nationalflag.liberia”

{ A [label = "", shape = "nationalflag.liberia"]; }

shape = “nationalflag.the_republic_of_china”

{ A [label = "", shape = "nationalflag.the_republic_of_china"]; }

shape = “nationalflag.india”

{ A [label = "", shape = "nationalflag.india"]; }

shape = “nationalflag.the_sahrawi_arab_democratic_republic”

{ A [label = "", shape = "nationalflag.the_sahrawi_arab_democratic_republic"]; }

shape = “nationalflag.tanzania”

{ A [label = "", shape = "nationalflag.tanzania"]; }

shape = “nationalflag.ukraine”

{ A [label = "", shape = "nationalflag.ukraine"]; }

shape = “nationalflag.botswana”

{ A [label = "", shape = "nationalflag.botswana"]; }

shape = “nationalflag.swaziland”

{ A [label = "", shape = "nationalflag.swaziland"]; }

shape = “nationalflag.gabon”

{ A [label = "", shape = "nationalflag.gabon"]; }

shape = “nationalflag.bangladesh”

{ A [label = "", shape = "nationalflag.bangladesh"]; }

shape = “nationalflag.argentina”

{ A [label = "", shape = "nationalflag.argentina"]; }

shape = “nationalflag.the_gambia”

{ A [label = "", shape = "nationalflag.the_gambia"]; }

shape = “nationalflag.the_united_arab_emirates”

{ A [label = "", shape = "nationalflag.the_united_arab_emirates"]; }

shape = “nationalflag.uruguay”

{ A [label = "", shape = "nationalflag.uruguay"]; }

shape = “nationalflag.the_czech_republic”

{ A [label = "", shape = "nationalflag.the_czech_republic"]; }

shape = “nationalflag.bulgaria”

{ A [label = "", shape = "nationalflag.bulgaria"]; }

shape = “nationalflag.fiji”

{ A [label = "", shape = "nationalflag.fiji"]; }

shape = “nationalflag.nauru”

{ A [label = "", shape = "nationalflag.nauru"]; }

shape = “nationalflag.egypt”

{ A [label = "", shape = "nationalflag.egypt"]; }

shape = “nationalflag.the_bahamas”

{ A [label = "", shape = "nationalflag.the_bahamas"]; }

shape = “nationalflag.thailand”

{ A [label = "", shape = "nationalflag.thailand"]; }

shape = “nationalflag.azerbaijan”

{ A [label = "", shape = "nationalflag.azerbaijan"]; }

shape = “nationalflag.indonesia”

{ A [label = "", shape = "nationalflag.indonesia"]; }

shape = “nationalflag.sierra_leone”

{ A [label = "", shape = "nationalflag.sierra_leone"]; }

shape = “nationalflag.sao_tome_and_principe”

{ A [label = "", shape = "nationalflag.sao_tome_and_principe"]; }

shape = “nationalflag.chad”

{ A [label = "", shape = "nationalflag.chad"]; }

shape = “nationalflag.sri_lanka”

{ A [label = "", shape = "nationalflag.sri_lanka"]; }

shape = “nationalflag.cyprus”

{ A [label = "", shape = "nationalflag.cyprus"]; }

shape = “nationalflag.ireland”

{ A [label = "", shape = "nationalflag.ireland"]; }

shape = “nationalflag.liechtenstein”

{ A [label = "", shape = "nationalflag.liechtenstein"]; }

shape = “nationalflag.italy”

{ A [label = "", shape = "nationalflag.italy"]; }

shape = “nationalflag.mongolia”

{ A [label = "", shape = "nationalflag.mongolia"]; }

shape = “nationalflag.the_comoros”

{ A [label = "", shape = "nationalflag.the_comoros"]; }

shape = “nationalflag.turkey”

{ A [label = "", shape = "nationalflag.turkey"]; }

shape = “nationalflag.vietnam”

{ A [label = "", shape = "nationalflag.vietnam"]; }

shape = “nationalflag.tajikistan”

{ A [label = "", shape = "nationalflag.tajikistan"]; }

shape = “nationalflag.poland”

{ A [label = "", shape = "nationalflag.poland"]; }

shape = “nationalflag.tuvalu”

{ A [label = "", shape = "nationalflag.tuvalu"]; }

shape = “nationalflag.the_netherlands”

{ A [label = "", shape = "nationalflag.the_netherlands"]; }

shape = “nationalflag.ecuador”

{ A [label = "", shape = "nationalflag.ecuador"]; }

shape = “nationalflag.lithuania”

{ A [label = "", shape = "nationalflag.lithuania"]; }

shape = “nationalflag.syria”

{ A [label = "", shape = "nationalflag.syria"]; }

shape = “nationalflag.the_republic_of_the_congo”

{ A [label = "", shape = "nationalflag.the_republic_of_the_congo"]; }

shape = “nationalflag.jordan”

{ A [label = "", shape = "nationalflag.jordan"]; }

shape = “nationalflag.eritrea”

{ A [label = "", shape = "nationalflag.eritrea"]; }

shape = “nationalflag.the_cook_islands”

{ A [label = "", shape = "nationalflag.the_cook_islands"]; }

shape = “nationalflag.austria”

{ A [label = "", shape = "nationalflag.austria"]; }

shape = “nationalflag.guyana”

{ A [label = "", shape = "nationalflag.guyana"]; }

shape = “nationalflag.moldova”

{ A [label = "", shape = "nationalflag.moldova"]; }

shape = “nationalflag.vanuatu”

{ A [label = "", shape = "nationalflag.vanuatu"]; }

shape = “nationalflag.bosnia_and_herzegovina”

{ A [label = "", shape = "nationalflag.bosnia_and_herzegovina"]; }

shape = “nationalflag.el_salvador”

{ A [label = "", shape = "nationalflag.el_salvador"]; }

shape = “nationalflag.albania”

{ A [label = "", shape = "nationalflag.albania"]; }

shape = “nationalflag.madagascar”

{ A [label = "", shape = "nationalflag.madagascar"]; }

shape = “nationalflag.kiribati”

{ A [label = "", shape = "nationalflag.kiribati"]; }

shape = “nationalflag.dominica”

{ A [label = "", shape = "nationalflag.dominica"]; }

shape = “nationalflag.zambia”

{ A [label = "", shape = "nationalflag.zambia"]; }

shape = “nationalflag.germany”

{ A [label = "", shape = "nationalflag.germany"]; }

shape = “nationalflag.saudi_arabia”

{ A [label = "", shape = "nationalflag.saudi_arabia"]; }

shape = “nationalflag.portugal”

{ A [label = "", shape = "nationalflag.portugal"]; }

shape = “nationalflag.new_zealand”

{ A [label = "", shape = "nationalflag.new_zealand"]; }

shape = “nationalflag.cameroon”

{ A [label = "", shape = "nationalflag.cameroon"]; }

shape = “nationalflag.bolivia”

{ A [label = "", shape = "nationalflag.bolivia"]; }

shape = “nationalflag.tonga”

{ A [label = "", shape = "nationalflag.tonga"]; }

shape = “nationalflag.croatia”

{ A [label = "", shape = "nationalflag.croatia"]; }

shape = “nationalflag.south_sudan”

{ A [label = "", shape = "nationalflag.south_sudan"]; }

shape = “nationalflag.saint_kitts_and_nevis”

{ A [label = "", shape = "nationalflag.saint_kitts_and_nevis"]; }

shape = “nationalflag.haiti”

{ A [label = "", shape = "nationalflag.haiti"]; }

shape = “nationalflag.afghanistan”

{ A [label = "", shape = "nationalflag.afghanistan"]; }

shape = “nationalflag.suriname”

{ A [label = "", shape = "nationalflag.suriname"]; }

shape = “nationalflag.abkhazia”

{ A [label = "", shape = "nationalflag.abkhazia"]; }

shape = “nationalflag.togo”

{ A [label = "", shape = "nationalflag.togo"]; }

shape = “nationalflag.macedonia”

{ A [label = "", shape = "nationalflag.macedonia"]; }

shape = “nationalflag.algeria”

{ A [label = "", shape = "nationalflag.algeria"]; }

shape = “nationalflag.mozambique”

{ A [label = "", shape = "nationalflag.mozambique"]; }

shape = “nationalflag.somaliland”

{ A [label = "", shape = "nationalflag.somaliland"]; }

shape = “nationalflag.the_turkish_republic_of_northern_cyprus”

{ A [label = "", shape = "nationalflag.the_turkish_republic_of_northern_cyprus"]; }

shape = “nationalflag.andorra”

{ A [label = "", shape = "nationalflag.andorra"]; }

shape = “nationalflag.south_africa”

{ A [label = "", shape = "nationalflag.south_africa"]; }

shape = “nationalflag.malta”

{ A [label = "", shape = "nationalflag.malta"]; }

shape = “nationalflag.malawi”

{ A [label = "", shape = "nationalflag.malawi"]; }

shape = “nationalflag.namibia”

{ A [label = "", shape = "nationalflag.namibia"]; }

shape = “nationalflag.mali”

{ A [label = "", shape = "nationalflag.mali"]; }

shape = “nationalflag.iceland”

{ A [label = "", shape = "nationalflag.iceland"]; }

shape = “nationalflag.nepal”

{ A [label = "", shape = "nationalflag.nepal"]; }

shape = “nationalflag.equatorial_guinea”

{ A [label = "", shape = "nationalflag.equatorial_guinea"]; }

shape = “nationalflag.niger”

{ A [label = "", shape = "nationalflag.niger"]; }

shape = “nationalflag.the_philippines”

{ A [label = "", shape = "nationalflag.the_philippines"]; }

shape = “nationalflag.nigeria”

{ A [label = "", shape = "nationalflag.nigeria"]; }

shape = “nationalflag.federated_states_of_micronesia”

{ A [label = "", shape = "nationalflag.federated_states_of_micronesia"]; }

shape = “nationalflag.bahrain”

{ A [label = "", shape = "nationalflag.bahrain"]; }

shape = “nationalflag.slovakia”

{ A [label = "", shape = "nationalflag.slovakia"]; }

shape = “nationalflag.antigua_and_barbuda”

{ A [label = "", shape = "nationalflag.antigua_and_barbuda"]; }

shape = “nationalflag.cambodia”

{ A [label = "", shape = "nationalflag.cambodia"]; }

shape = “nationalflag.denmark”

{ A [label = "", shape = "nationalflag.denmark"]; }

shape = “nationalflag.kenya”

{ A [label = "", shape = "nationalflag.kenya"]; }

shape = “nationalflag.oman”

{ A [label = "", shape = "nationalflag.oman"]; }

shape = “nationalflag.israel”

{ A [label = "", shape = "nationalflag.israel"]; }

shape = “nationalflag.brunei”

{ A [label = "", shape = "nationalflag.brunei"]; }

shape = “nationalflag.djibouti”

{ A [label = "", shape = "nationalflag.djibouti"]; }

shape = “nationalflag.san_marino”

{ A [label = "", shape = "nationalflag.san_marino"]; }

shape = “nationalflag.singapore”

{ A [label = "", shape = "nationalflag.singapore"]; }

shape = “nationalflag.costa_rica”

{ A [label = "", shape = "nationalflag.costa_rica"]; }

shape = “nationalflag.uganda”

{ A [label = "", shape = "nationalflag.uganda"]; }

shape = “nationalflag.cote_d’ivoire”

{ A [label = "", shape = "nationalflag.cote_d'ivoire"]; }

shape = “nationalflag.colombia”

{ A [label = "", shape = "nationalflag.colombia"]; }

shape = “nationalflag.zimbabwe”

{ A [label = "", shape = "nationalflag.zimbabwe"]; }

shape = “nationalflag.the_people’s_republic_of_china”

{ A [label = "", shape = "nationalflag.the_people's_republic_of_china"]; }

shape = “nationalflag.sudan”

{ A [label = "", shape = "nationalflag.sudan"]; }

shape = “nationalflag.north_korea”

{ A [label = "", shape = "nationalflag.north_korea"]; }

shape = “nationalflag.luxembourg”

{ A [label = "", shape = "nationalflag.luxembourg"]; }

shape = “nationalflag.south_korea”

{ A [label = "", shape = "nationalflag.south_korea"]; }

shape = “nationalflag.guinea”

{ A [label = "", shape = "nationalflag.guinea"]; }

shape = “nationalflag.the_marshall_islands”

{ A [label = "", shape = "nationalflag.the_marshall_islands"]; }

shape = “nationalflag.malaysia”

{ A [label = "", shape = "nationalflag.malaysia"]; }

shape = “nationalflag.romania”

{ A [label = "", shape = "nationalflag.romania"]; }

shape = “nationalflag.benin”

{ A [label = "", shape = "nationalflag.benin"]; }

shape = “nationalflag.france”

{ A [label = "", shape = "nationalflag.france"]; }

shape = “nationalflag.ethiopia”

{ A [label = "", shape = "nationalflag.ethiopia"]; }

shape = “nationalflag.the_dominican_republic”

{ A [label = "", shape = "nationalflag.the_dominican_republic"]; }

shape = “nationalflag.the_united_kingdom”

{ A [label = "", shape = "nationalflag.the_united_kingdom"]; }

shape = “nationalflag.the_central_african_republic”

{ A [label = "", shape = "nationalflag.the_central_african_republic"]; }

shape = “nationalflag.palau”

{ A [label = "", shape = "nationalflag.palau"]; }

shape = “nationalflag.libya”

{ A [label = "", shape = "nationalflag.libya"]; }

shape = “nationalflag.cape_verde”

{ A [label = "", shape = "nationalflag.cape_verde"]; }

shape = “nationalflag.papua_new_guinea”

{ A [label = "", shape = "nationalflag.papua_new_guinea"]; }

shape = “nationalflag.serbia”

{ A [label = "", shape = "nationalflag.serbia"]; }

shape = “nationalflag.montenegro”

{ A [label = "", shape = "nationalflag.montenegro"]; }

shape = “nationalflag.the_solomon_islands”

{ A [label = "", shape = "nationalflag.the_solomon_islands"]; }

shape = “nationalflag.the_vatican_city”

{ A [label = "", shape = "nationalflag.the_vatican_city"]; }

shape = “nationalflag.laos”

{ A [label = "", shape = "nationalflag.laos"]; }

shape = “nationalflag.tunisia”

{ A [label = "", shape = "nationalflag.tunisia"]; }

shape = “nationalflag.the_seychelles”

{ A [label = "", shape = "nationalflag.the_seychelles"]; }

shape = “nationalflag.turkmenistan”

{ A [label = "", shape = "nationalflag.turkmenistan"]; }

shape = “nationalflag.burundi”

{ A [label = "", shape = "nationalflag.burundi"]; }

shape = “nationalflag.bhutan”

{ A [label = "", shape = "nationalflag.bhutan"]; }

shape = “nationalflag.kyrgyzstan”

{ A [label = "", shape = "nationalflag.kyrgyzstan"]; }

shape = “nationalflag.ghana”

{ A [label = "", shape = "nationalflag.ghana"]; }

shape = “nationalflag.saint_lucia”

{ A [label = "", shape = "nationalflag.saint_lucia"]; }

shape = “nationalflag.mauritania”

{ A [label = "", shape = "nationalflag.mauritania"]; }

shape = “nationalflag.mauritius”

{ A [label = "", shape = "nationalflag.mauritius"]; }

shape = “nationalflag.yemen”

{ A [label = "", shape = "nationalflag.yemen"]; }

shape = “nationalflag.norway”

{ A [label = "", shape = "nationalflag.norway"]; }

shape = “nationalflag.brazil”

{ A [label = "", shape = "nationalflag.brazil"]; }

 

Table Of Contents

This Page