File:Greedy colourings.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 400 × 400 pixels, file size: 2 KB)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description Greedy colouring of a bipartite graph with 8 vertices
    Source Own work
    Author Thore Husfeldt
    SVG development
    InfoField
     The SVG code is valid.
     This graph was created with a text editor.
     This graph uses embedded text/digits.
    Source code
    InfoField

    SVG code

    <?xml version="1.0"?>
    <svg width="400" height="400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" stroke="#000" stroke-width="2.5">
     <path id="a" d="m150 50-100 300m100-200-100 200 100-100m0,100-100-100m100-100-100 100 100-200m0,300-100-200 100 100m-100-100 100-100m0,300-100-300m100,200-100-200 100 100" fill="none"/>
     <use transform="translate(200)" xlink:href="#a"/>
     <g fill="#ff8b8b">
      <circle cx="50" cy="50" r="25"/>
      <circle cx="50" cy="150" r="25"/>
      <circle cx="50" cy="250" r="25"/>
      <circle cx="50" cy="350" r="25"/>
      <circle cx="250" cy="350" r="25"/>
      <circle cx="350" cy="350" r="25"/>
     </g>
     <g fill="#8bc5ff">
      <circle cx="150" cy="50" r="25"/>
      <circle cx="150" cy="150" r="25"/>
      <circle cx="150" cy="250" r="25"/>
      <circle cx="150" cy="350" r="25"/>
      <circle cx="250" cy="250" r="25"/>
      <circle cx="350" cy="250" r="25"/>
     </g>
     <circle cx="250" cy="50" r="25" fill="#eaff8b"/>
     <circle cx="350" cy="50" r="25" fill="#eaff8b"/>
     <circle cx="250" cy="150" r="25" fill="#8bffa1"/>
     <circle cx="350" cy="150" r="25" fill="#8bffa1"/>
     <g font-family="DejaVu Sans" font-size="30" font-weight="bold" text-anchor="middle" stroke="none">
      <text x="49" y="360">1</text>
      <text x="50" y="261">2</text>
      <text x="50" y="160">3</text>
      <text x="50" y="60">4</text>
      <text x="149" y="360">5</text>
      <text x="149" y="260">6</text>
      <text x="150" y="160">7</text>
      <text x="150" y="60">8</text>
      <text x="249" y="360">1</text>
      <text x="350" y="361">2</text>
      <text x="250" y="260">3</text>
      <text x="350" y="260">4</text>
      <text x="249" y="160">5</text>
      <text x="349" y="160">6</text>
      <text x="250" y="60">7</text>
      <text x="350" y="60">8</text>
     </g>
    </svg>
    
    1726 bytes

    Licensing

    I, the copyright holder of this work, hereby publish it under the following licenses:
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
    • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
    GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
    You may select the license of your choice.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    image/svg+xml

    1,864 byte

    2d28721c67eb269e2bb55fd3b0505b625a17e96e

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current15:52, 19 April 2021Thumbnail for version as of 15:52, 19 April 2021400 × 400 (2 KB)wikimediacommons>Mrmwfixed colours

    There are no pages that use this file.