File:Graph homomorphism into C5.svg

来自testwiki
跳转到导航 跳转到搜索
原始文件 (SVG文件,尺寸为259 × 460像素,文件大小:34 KB)

本文件来自维基共享资源并可能被其他项目使用。 其文件描述页上的描述显示在下面。

摘要

描述
English: A homomorphism from the flower snark J5 to the cycle graph C5. It is also a retraction onto the subgraph on the central five vertices, so J5 is in fact homomorphically equivalent to core graph C5.
日期
来源 自己的作品
作者 Tokenzero
SVG开发
InfoField
 该SVG的源代码为无效代码,因为发现了1个问题。
 本W3C无效的矢量图使用LaTeX创作。
源代码
InfoField

LaTeX/TikZ source code

\documentclass[tikz,border=10pt]{standalone}
	%% Compile svg by running:
	%% latex example.tex #OR:  lualatex --output-format=dvi example.tex
	%% dvisvgm --bbox=10 example.dvi
	\usepackage{tikz}
	\usetikzlibrary{calc}
	
	\definecolor{col0}{RGB}{255, 51, 51}
	\definecolor{col1}{RGB}{215,255, 51}
	\definecolor{col2}{RGB}{ 51,255,133}
	\definecolor{col3}{RGB}{ 51,133,255}
	\definecolor{col4}{RGB}{215, 51,255}
	
	\begin{document}%
	\begin{tikzpicture}[
		scale=0.8,rotate=90,every node/.style={draw,circle},
		C0/.style={fill=col0},
		C1/.style={fill=col1},
		C2/.style={fill=col2},
		C3/.style={fill=col3},			
		C4/.style={fill=col4}
	]
	
	%the flower snark graph J_5
	%vertices
		\foreach \x/\c in {0/4, 1/3,  2/2, 3/1, 4/0}
			\node[C\c] (u\x) at (\x * 72 :1.5) {\c};
		\foreach \x/\c in {0/0, 1/4,  2/3, 3/4, 4/3, 5/2, 6/3, 7/2, 8/1, 9/2, 10/1, 11/0, 12/1, 13/0, 14/4}
			\node[C\c] (v\x) at (\x * 24 :3.75) {\c};
	%edges
		\foreach \x in {0,...,4}
		{
			\pgfmathtruncatemacro{\xp}{mod(\x+1,5)};
			\draw (u\x) -- (u\xp);
			\pgfmathtruncatemacro{\xx}{3*\x};
			\draw (u\x) -- (v\xx);
			\pgfmathtruncatemacro{\xa}{3*\x+1};
			\pgfmathtruncatemacro{\xb}{mod(3*\x+11,15)};		
			\draw (v\xa) -- (v\xb);
		}
		\foreach \x in {0,...,14}	
		{
			\pgfmathtruncatemacro{\xp}{mod(\x+1,15)};
			\draw (v\x) -- (v\xp);
		}
	
	%the image of J_5 in C_5
	\begin{scope}[shift={(-8,0)}]
	%blob edges
		\foreach \x in {0,...,4}
		{
			\pgfmathtruncatemacro{\xp}{mod(\x+1,5)};
			\draw[gray!15!white,line width=40pt](\x * 72 :2.6) -- (\xp * 72 :2.7);
		}
	%blobs
		\foreach \x/\c in {0/4, 1/3,  2/2, 3/1, 4/0}
			\node[draw=none,fill=col\c!30!white,minimum size=50pt] (u\x) at (\x * 72 :2.6) {};
	%vertices
		\foreach \x/\c in {0/4, 1/3,  2/2, 3/1, 4/0}
			\node[C\c] (u\x) at (\x * 72 :2) {};
		\foreach \x/\c/\d in {0/0/2, 1/4/0,  2/3/0, 3/4/2, 4/3/1, 5/2/0, 6/3/2, 7/2/1, 8/1/0, 9/2/2, 10/1/1, 11/0/1, 12/1/2, 13/0/0, 14/4/1}
			\node[C\c] (v\x) at ((-72 - \c * 72 + \d*12-12 :3) {};
	%the same edges
		\foreach \x in {0,...,4}
		{
			\pgfmathtruncatemacro{\xp}{mod(\x+1,5)};
			\draw (u\x) -- (u\xp);
			\pgfmathtruncatemacro{\xx}{3*\x};
			\draw (u\x) -- (v\xx);
			\pgfmathtruncatemacro{\xa}{3*\x+1};
			\pgfmathtruncatemacro{\xb}{mod(3*\x+11,15)};		
			\draw (v\xa) -- (v\xb);
		}
		\foreach \x in {0,...,14}	
		{
			\pgfmathtruncatemacro{\xp}{mod(\x+1,15)};
			\draw (v\x) -- (v\xp);
		}		
	\end{scope}		
	\end{tikzpicture}%
	\end{document}

许可协议

我,本作品著作权人,特此采用以下许可协议发表本作品:
Creative Commons CC-Zero 本作品采用知识共享CC0 1.0 通用公有领域贡献许可协议授权。
采用本宣告发表本作品的人,已在法律允许的范围内,通过在全世界放弃其对本作品拥有的著作权法规定的所有权利(包括所有相关权利),将本作品贡献至公有领域。您可以复制、修改、传播和表演本作品,将其用于商业目的,无需要求授权。

说明

添加一行文字以描述该文件所表现的内容

此文件中描述的项目

描繪內容

文件历史

点击某个日期/时间查看对应时刻的文件。

日期/时间缩⁠略⁠图大小用户备注
当前2017年4月4日 (二) 10:552017年4月4日 (二) 10:55版本的缩略图259 × 460​(34 KB)wikimediacommons>TokenzeroHighlight C5 as blobs.

以下页面使用本文件: