Graph_of_non-adjacent_weekdays.svg
Size of this PNG preview of this SVG file:
277 × 221 pixels
.
Other resolutions:
301 × 240 pixels
|
602 × 480 pixels
|
963 × 768 pixels
|
1,280 × 1,021 pixels
|
2,560 × 2,042 pixels
.
Summary
Description Graph of non-adjacent weekdays.svg |
English:
Graph of non-adjacent weekdays, isomorphic to the
circular clique
K
7/2
|
Date | |
Source | Own work |
Author | Tokenzero |
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication . | |
The person who associated a work with this deed has dedicated the work to the
public domain
by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.en CC0 Creative Commons Zero, Public Domain Dedication false false |
LaTeX/TikZ source code
%\documentclass{minimal}
\documentclass[tikz,border=5pt]{standalone}
%% Compile svg by running:
%% latex example.tex #OR: lualatex --output-format=dvi example.tex
%% dvisvgm --bbox=5 example.dvi
\usepackage{tikz}
\usepackage{microtype}
\DisableLigatures{encoding = *, family = * }
\usetikzlibrary{calc}
\begin{document}%
\begin{tikzpicture}[
scale=1,every node/.style={draw,circle,fill=blue!40!black},
]
\def\diam{2.3};
\foreach \x/\day/\c in {0/Monday/1, 1/Tuesday/1, 2/Wednesday/3.5, 3/Thursday/3.6, 4/Friday/4, 5/Saturday/4, 6/Sunday/7}
\node[label={(-\c*360/7)}:\day ] (d\x) at ({(-\x*360/7)}:\diam) {};
\foreach \x in {0,...,6}
{
\pgfmathtruncatemacro{\xp}{mod(\x+2,7)};
\draw (d\x.center) to[bend right=10] (d\xp.center);
\pgfmathtruncatemacro{\xpp}{mod(\x+3,7)};
\draw (d\x.center) to[bend right=1] (d\xpp.center);
}
\foreach \x/\day/\c in {0/Monday/1, 1/Tuesday/1, 2/Wednesday/3.5, 3/Thursday/3.6, 4/Friday/4, 5/Saturday/4, 6/Sunday/7}
\node[label={(-\c*360/7)}:\day] (d\x) at ({(-\x*360/7)}:\diam) {};
\end{tikzpicture}%
\end{document}