Skip to content

Commit 0e3c138

Browse files
authored
Merge pull request #296 from magjac/update-to-graphviz-12.1.0
Upgrade to Graphviz 12.1.0
2 parents c21d419 + 374c32c commit 0e3c138

File tree

5 files changed

+24
-16
lines changed

5 files changed

+24
-16
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
### Changed
10+
* Updated [Graphviz](https://graphviz.org/) from version
11+
[11.0.0](https://gitlab.com/graphviz/graphviz/-/blob/main/CHANGELOG.md#1100--2024-04-28)
12+
to version
13+
[12.1.0](https://gitlab.com/graphviz/graphviz/-/blob/main/CHANGELOG.md#1210--2024-08-12)
14+
through
15+
[d3-graphviz](https://github.com/magjac/d3-graphviz)
16+
version
17+
[5.6.0](https://github.com/magjac/d3-graphviz/blob/master/CHANGELOG.md#560--2024-08-18).
18+
919
## [1.2.0] - 2024-05-25
1020

1121
### Changed

bin/generate-versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def main(args: List[str]) -> int: # pylint: disable=missing-function-docstring
1212
with open(args[1]) as fp:
1313
versions = {}
1414
for line in fp:
15-
mo = re.match("## \[([0-9][^\]]*)] [-–] (.*)$", line)
15+
mo = re.match("## \\[([0-9][^\\]]*)] [-–] (.*)$", line)
1616
if mo:
1717
version = mo.group(1)
1818
release_date = mo.group(2)

cypress/e2e/rendering.spec.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,16 @@ describe('Basic rendering from DOT source', function() {
6868
cy.wrap(graph0).invoke('width').should('be.closeTo', 95.867, 0.0005);
6969
break;
7070
case 'fdp':
71-
cy.wrap(graph0).invoke('height').should('be.closeTo', 71.707, 0.0005);
72-
cy.wrap(graph0).invoke('width').should('be.closeTo', 184.000, 0.0005);
71+
cy.wrap(graph0).invoke('height').should('be.closeTo', 72.907, 0.0005);
72+
cy.wrap(graph0).invoke('width').should('be.closeTo', 184.720, 0.0005);
7373
break;
7474
case 'neato':
7575
cy.wrap(graph0).invoke('height').should('be.closeTo', 72.853, 0.0005);
7676
cy.wrap(graph0).invoke('width').should('be.closeTo', 184.387, 0.0005);
7777
break;
7878
case 'osage':
7979
cy.wrap(graph0).invoke('height').should('be.closeTo', 58.667, 0.0005);
80-
cy.wrap(graph0).invoke('width').should('be.closeTo', 172.360, 0.0005);
80+
cy.wrap(graph0).invoke('width').should('be.closeTo', 173.693, 0.0005);
8181
break;
8282
case 'patchwork':
8383
cy.wrap(graph0).invoke('height').should('be.closeTo', 70.293, 0.0005);
@@ -160,7 +160,6 @@ describe('Basic rendering from DOT source', function() {
160160

161161
})
162162

163-
/*
164163
it('Resizes the graph when the window is resized if fit graph is enabled', function() {
165164
cy.startApplicationWithDotSource('digraph {Alice -> Bob}');
166165

@@ -197,7 +196,6 @@ describe('Basic rendering from DOT source', function() {
197196
});
198197

199198
})
200-
*/
201199

202200
it('Renders nodes with names equal to properties of the JavaScript Object type, and edges between them', function() {
203201
const nodeNames = getAllPropertyNames({});

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"@mui/icons-material": "^5.15.18",
3232
"@mui/material": "^5.15.18",
3333
"ace-builds": "^1.33.2",
34-
"d3-graphviz": "^5.4.0",
34+
"d3-graphviz": "^5.6.0",
3535
"d3-scale-chromatic": "^3.1.0",
3636
"d3-selection": "^3.0.0",
3737
"d3-transition": "^3.0.1",

0 commit comments

Comments
 (0)