File:Duals graphs.svg
Original file (SVG file, nominally 313 × 223 pixels, file size: 11 KB)
Captions
Summary
[edit]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
[edit]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 |
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 (talk | contribs) | Made the red edges dashed. | |
21:30, 20 December 2012 | 313 × 223 (11 KB) | Bender2k14 (talk | contribs) | {{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... |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
File usage on other wikis
The following other wikis use this file:
- Usage on ar.wikipedia.org
- Usage on ca.wikipedia.org
- Usage on cs.wikipedia.org
- Usage on en.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 such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 250pt |
---|---|
Height | 178pt |