digraph polypoly {
	
    size="7,9.5";
    page="8.5,11";
    ratio=fill;
    node [shape=polygon];

    { rank=same;
      node [sides=0];
      node [peripheries=1];
      0000 [label="M"];
      0001 [label="MMMMMMMMMM"];
      0002 [label="M\nM\nM\nM\nM\nM"];
      0003 [label="MMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM"];
      node [peripheries=2];
      0010 [label="M"];
      0011 [label="MMMMMMMMMM"];
      0012 [label="M\nM\nM\nM\nM\nM"];
      0013 [label="MMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM"];
      node [distortion=-.3];
      0110 [label="M"];
      0111 [label="MMMMMMMMMM"];
      0112 [label="M\nM\nM\nM\nM\nM"];
      0113 [label="MMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM"];
    }
    { rank=same;
      node [sides=3];
      node [peripheries=1];
      node [orientation=0];
      3000 [label="M"];
      3001 [label="MMMMMMMMMM"];
      3002 [label="M\nM\nM\nM\nM\nM"];
      3003 [label="MMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM"];
      node [peripheries=2];
      node [orientation=60];
      3110 [label="M"];
      3111 [label="MMMMMMMMMM"];
      3112 [label="M\nM\nM\nM\nM\nM"];
      3113 [label="MMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM"];
    }
    3000->0000;
    { rank=same;
      node [sides=4];
      node [peripheries=1];
      node [orientation=0];
      4000 [label="M"];
      4001 [label="MMMMMMMMMM"];
      4002 [label="M\nM\nM\nM\nM\nM"];
      4003 [label="MMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM"];
      node [peripheries=2];
      node [orientation=45];
      4110 [label="M"];
      4111 [label="MMMMMMMMMM"];
      4112 [label="M\nM\nM\nM\nM\nM"];
      4113 [label="MMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM"];
    }
    4000->3000;
    { rank=same;
      node [sides=5];
      node [peripheries=1];
      node [orientation=0];
      5000 [label="M"];
      5001 [label="MMMMMMMMMM"];
      5002 [label="M\nM\nM\nM\nM\nM"];
      5003 [label="MMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM"];
      node [peripheries=2];
      node [orientation=36];
      5110 [label="M"];
      5111 [label="MMMMMMMMMM"];
      5112 [label="M\nM\nM\nM\nM\nM"];
      5113 [label="MMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM"];
    }
    5000->4000;
    { rank=same;
      node [sides=6];
      node [peripheries=1];
      node [orientation=0];
      6000 [label="M"];
      6001 [label="MMMMMMMMMM"];
      6002 [label="M\nM\nM\nM\nM\nM"];
      6003 [label="MMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM"];
      node [peripheries=2];
      node [orientation=30];
      6110 [label="M"];
      6111 [label="MMMMMMMMMM"];
      6112 [label="M\nM\nM\nM\nM\nM"];
      6113 [label="MMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM"];
    }
    6000->5000;
    { rank=same;
      node [sides=7];
      node [peripheries=1];
      node [orientation=0];
      7000 [label="M"];
      7001 [label="MMMMMMMMMM"];
      7002 [label="M\nM\nM\nM\nM\nM"];
      7003 [label="MMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM"];
      node [peripheries=2];
      node [orientation=25.7];
      7110 [label="M"];
      7111 [label="MMMMMMMMMM"];
      7112 [label="M\nM\nM\nM\nM\nM"];
      7113 [label="MMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM"];
    }
    7000->6000;
    { rank=same;
      node [sides=8];
      node [peripheries=1];
      node [orientation=0];
      8000 [label="M"];
      8001 [label="MMMMMMMMMM"];
      8002 [label="M\nM\nM\nM\nM\nM"];
      8003 [label="MMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM"];
      node [peripheries=2];
      node [orientation=22.5];
      8110 [label="M"];
      8111 [label="MMMMMMMMMM"];
      8112 [label="M\nM\nM\nM\nM\nM"];
      8113 [label="MMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM\nMMMMMMMMMM"];
    }
    8000->7000;
    { rank=same;
      node [sides=4];
      node [peripheries=1];
      node [regular=1];
      node [distortion=.5];
      node [orientation=0];
      9000 [label="M"];
      node [orientation=45.];
      9001 [label="M"];
      node [orientation=90.];
      9002 [label="M"];
      node [orientation=135.];
      9003 [label="M"];
      node [orientation=180.];
      9004 [label="M"];
      node [orientation=225.];
      9005 [label="M"];
      node [orientation=270.];
      9006 [label="M"];
      node [orientation=315.];
      9007 [label="M"];
      node [peripheries=2];
      node [orientation=0];
      9010 [label="M"];
      node [orientation=45.];
      9011 [label="M"];
      node [orientation=90.];
      9012 [label="M"];
      node [orientation=135.];
      9013 [label="M"];
      node [orientation=180.];
      9014 [label="M"];
      node [orientation=225.];
      9015 [label="M"];
      node [orientation=270.];
      9016 [label="M"];
      node [orientation=315.];
      9017 [label="M"];
    }
    9000->8000;
}
