--- /dev/null
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8" />
+ <title>Dot | My Project</title>
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" />
+ <link rel="stylesheet" href="m-dark+documentation.compiled.css" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+</head>
+<body>
+<header><nav id="navigation">
+ <div class="m-container">
+ <div class="m-row">
+ <a href="index.html" id="m-navbar-brand" class="m-col-t-8 m-col-m-none m-left-m">My Project</a>
+ </div>
+ </div>
+</nav></header>
+<main><article>
+ <div class="m-container m-container-inflatable">
+ <div class="m-row">
+ <div class="m-col-l-10 m-push-l-1">
+ <h1>
+ Dot
+ </h1>
+<p>A red graph:</p><div class="m-graph m-danger"><svg style="width: 3.875rem; height: 7.375rem;" viewBox="0.00 0.00 62.00 117.54">
+<g transform="scale(1 1) rotate(0) translate(4 113.54)">
+<g class="m-node m-flat">
+<title>a</title>
+<ellipse cx="27" cy="-91.15" rx="27" ry="18.27"/>
+<text text-anchor="middle" x="27" y="-87.35">a</text>
+</g>
+<g class="m-node m-flat">
+<title>b</title>
+<ellipse cx="27" cy="-18.38" rx="27" ry="18.27"/>
+<text text-anchor="middle" x="27" y="-14.58">b</text>
+</g>
+<g class="m-edge">
+<title>a--b</title>
+<path d="M27,-72.66C27,-61.85 27,-48.03 27,-37.17"/>
+</g>
+</g>
+</svg>
+</div><p>A blue graph, from a file:</p><div class="m-graph m-info"><svg style="width: 3.875rem; height: 7.375rem;" viewBox="0.00 0.00 62.00 117.54">
+<g transform="scale(1 1) rotate(0) translate(4 113.54)">
+<g class="m-node m-flat">
+<title>a</title>
+<ellipse cx="27" cy="-91.15" rx="27" ry="18.27"/>
+<text text-anchor="middle" x="27" y="-87.35">a</text>
+</g>
+<g class="m-node m-flat">
+<title>b</title>
+<ellipse cx="27" cy="-18.38" rx="27" ry="18.27"/>
+<text text-anchor="middle" x="27" y="-14.58">b</text>
+</g>
+<g class="m-edge">
+<title>a--b</title>
+<path d="M27,-72.66C27,-61.85 27,-48.03 27,-37.17"/>
+</g>
+</g>
+</svg>
+</div>
+ </div>
+ </div>
+ </div>
+</article></main>
+</body>
+</html>
<h1>
Dot
</h1>
-<p>A red graph:</p><div class="m-graph m-danger"><svg style="width: 3.875rem; height: 7.375rem;" viewBox="0.00 0.00 62.00 117.54">
-<g transform="scale(1 1) rotate(0) translate(4 113.54)">
+<p>A red graph:</p><div class="m-graph m-danger"><svg style="width: 3.875rem; height: 8.125rem;" viewBox="0.00 0.00 62.00 130.27">
+<g transform="scale(1 1) rotate(0) translate(4 126.27)">
<g class="m-node m-flat">
<title>a</title>
-<ellipse cx="27" cy="-91.15" rx="27" ry="18.27"/>
-<text text-anchor="middle" x="27" y="-87.35">a</text>
+<ellipse cx="27" cy="-100.7" rx="27" ry="21.57"/>
+<text text-anchor="middle" x="27" y="-96.75">a</text>
</g>
<g class="m-node m-flat">
<title>b</title>
-<ellipse cx="27" cy="-18.38" rx="27" ry="18.27"/>
-<text text-anchor="middle" x="27" y="-14.58">b</text>
+<ellipse cx="27" cy="-21.57" rx="27" ry="21.57"/>
+<text text-anchor="middle" x="27" y="-17.62">b</text>
</g>
<g class="m-edge">
<title>a--b</title>
-<path d="M27,-72.66C27,-61.85 27,-48.03 27,-37.17"/>
+<path d="M27,-79.03C27,-68.05 27,-54.59 27,-43.56"/>
</g>
</g>
</svg>
-</div><p>A blue graph, from a file:</p><div class="m-graph m-info"><svg style="width: 3.875rem; height: 7.375rem;" viewBox="0.00 0.00 62.00 117.54">
-<g transform="scale(1 1) rotate(0) translate(4 113.54)">
+</div><p>A blue graph, from a file:</p><div class="m-graph m-info"><svg style="width: 3.875rem; height: 8.125rem;" viewBox="0.00 0.00 62.00 130.27">
+<g transform="scale(1 1) rotate(0) translate(4 126.27)">
<g class="m-node m-flat">
<title>a</title>
-<ellipse cx="27" cy="-91.15" rx="27" ry="18.27"/>
-<text text-anchor="middle" x="27" y="-87.35">a</text>
+<ellipse cx="27" cy="-100.7" rx="27" ry="21.57"/>
+<text text-anchor="middle" x="27" y="-96.75">a</text>
</g>
<g class="m-node m-flat">
<title>b</title>
-<ellipse cx="27" cy="-18.38" rx="27" ry="18.27"/>
-<text text-anchor="middle" x="27" y="-14.58">b</text>
+<ellipse cx="27" cy="-21.57" rx="27" ry="21.57"/>
+<text text-anchor="middle" x="27" y="-17.62">b</text>
</g>
<g class="m-edge">
<title>a--b</title>
-<path d="M27,-72.66C27,-61.85 27,-48.03 27,-37.17"/>
+<path d="M27,-79.03C27,-68.05 27,-54.59 27,-43.56"/>
</g>
</g>
</svg>
def test_dot(self):
self.run_doxygen(wildcard='dot.xml')
- # Used to be >= 2.44.0, but 2.42.2 appears to have the same output
- if parse_version(dot_version()) >= parse_version("2.42.2"):
+ # The damn thing adopted Chrome versioning apparently. No idea if the
+ # output changed in version 7, 8 or 9 already.
+ if parse_version(dot_version()) >= parse_version("10.0"):
file = 'dot.html'
+ # Used to be >= 2.44.0, but 2.42.2 appears to have the same output
+ elif parse_version(dot_version()) >= parse_version("2.42.2"):
+ file = 'dot-2.html'
else:
file = 'dot-240.html'