File:Duals_graphs.svg
From Wikipedia, the free encyclopedia
Size of this PNG preview of this SVG file: 313 × 223 pixels. Other resolutions: 320 × 228 pixels | 640 × 456 pixels | 1,024 × 730 pixels | 1,280 × 912 pixels | 2,560 × 1,824 pixels.
Original file (SVG file, nominally 313 × 223 pixels, file size: 11 KB)
This is a file from the Wikimedia Commons. Information from its description page there is shown below. Commons is a freely licensed media file repository. You can help. |
Summary
DescriptionDuals graphs.svg |
English: Two graphs, duals of each other. |
Date | |
Source |
\documentclass{article}
\thispagestyle{empty}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}[node distance=2.5cm,semithick]
\tikzstyle{origVertex} = [draw, blue, fill, shape=circle]
\tikzstyle{dualVertex} = [draw, red, fill, shape=circle]
\tikzstyle{invisibleVertex} = [shape=circle]
\tikzstyle{origEdge} = [blue]
\tikzstyle{dualEdge} = [red, densely dashed]
\node[origVertex] (0) {};
\node[invisibleVertex] (i1) [right of=0] {};
\node[origVertex] (1) [right of=i1] {};
\node[origVertex] (2) [below right of=1] {};
\node[origVertex] (3) [below left of=2] {};
\node[invisibleVertex] (i2) [left of=3] {};
\node[origVertex] (4) [left of=i2] {};
\path (0) edge[origEdge] (1)
edge[origEdge] (4)
(1) edge[origEdge] (2)
edge[origEdge] (3)
edge[origEdge] (4)
(2) edge[origEdge] (3)
(3) edge[origEdge] (4);
\path let
\p1 = (0),
\p2 = (1),
\p3 = (4)
in
node[dualVertex] (d0) at (\x1/3+\x2/3+\x3/3,\y1/3+\y2/3+\y3/3) {};
\path let
\p1 = (1),
\p2 = (3),
\p3 = (4)
in
node[dualVertex] (d1) at (\x1/3+\x2/3+\x3/3,\y1/3+\y2/3+\y3/3) {};
\path let
\p1 = (1),
\p2 = (2),
\p3 = (3)
in
node[dualVertex] (d2) at (\x1/3+\x2/3+\x3/3,\y1/3+\y2/3+\y3/3) {};
\node[dualVertex] (d3) [below left of=3] {};
\path (d0) edge[dualEdge] (d1)
edge[dualEdge, out= 120, in=-170, looseness=4] (d3)
edge[dualEdge, out=-150, in= 170, looseness=2.5] (d3)
(d1) edge[dualEdge] (d2)
edge[dualEdge] (d3)
(d2) edge[dualEdge, out= 35, in= 0, looseness=2] (d3)
edge[dualEdge, out= -90, in= 20, looseness=1.5] (d3);
\end{tikzpicture}
\end{document}
|
Author | Self |
Other versions | SVG version of this PNG version. |
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.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
Items portrayed in this file
depicts
20 December 2012
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 21:34, 20 December 2012 | 313 × 223 (11 KB) | Bender2k14 | Made the red edges dashed. | |
21:30, 20 December 2012 | 313 × 223 (11 KB) | Bender2k14 | {{Information |Description ={{en|1=Two graphs, duals of each other.}} |Source =<source lang="latex"> \documentclass{article} \thispagestyle{empty} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture}[node distan... |
File usage
The following pages on the English Wikipedia use this file (pages on other projects are not listed):
Global file usage
The following other wikis use this file:
- Usage on ar.wikipedia.org
- Usage on ca.wikipedia.org
- Usage on cs.wikipedia.org
- Usage on es.wikipedia.org
- Usage on fa.wikipedia.org
- Usage on fr.wikipedia.org
- Usage on hu.wikipedia.org
- Usage on it.wikipedia.org
- Usage on ja.wikipedia.org
- Usage on ko.wikipedia.org
- Usage on pt.wikipedia.org
- Usage on ro.wikipedia.org
- Usage on ru.wikipedia.org
- Usage on sv.wikipedia.org
- Usage on uk.wikipedia.org
Metadata
This file contains additional information, probably added from the digital camera or scanner used to create or digitize it.
If the file has been modified from its original state, some details may not fully reflect the modified file.
Width | 250pt |
---|---|
Height | 178pt |
Retrieved from "https://en.wikipedia.org/wiki/File:Duals_graphs.svg"