File:Duals graphs.svg
From testwiki
Jump to navigation
Jump to search
Original file (SVG file, nominally 313 × 223 pixels, file size: 11 KB)
Contents
This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.
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. |
| SVG development InfoField |
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 |
Captions
Add a one-line explanation of what this file represents
Items portrayed in this file
depicts
20 December 2012
11,703 byte
image/svg+xml
a0c18ca9649a19896178bfccfc80cf7ef812e098
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 22:34, 20 December 2012 | 313 × 223 (11 KB) | wikimediacommons>Bender2k14 | Made the red edges dashed. |
File usage
There are no pages that use this file.
Retrieved from "https://en.wiki.beta.math.wmcloud.org/wiki/File:Duals_graphs.svg"