Skip to content

Commit

Permalink
Updated deps, applied lints.
Browse files Browse the repository at this point in the history
  • Loading branch information
simphotonics committed Apr 3, 2024
1 parent 5bfc09d commit a5003c1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.4.2
- Updated dependencies.
- Applied suggested lints.

## 0.4.1
- Updated section Usage.

Expand Down
7 changes: 0 additions & 7 deletions lib/directed_graph.dart
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/// Dart implementation of directed graphs.
/// Provides methods to
/// * add/remove edges,
/// * check if the graph is acyclic,
/// * retrieve cycles,
/// * retrieve a list of vertices in topological order.
export 'src/extensions/sort.dart';
export 'src/graphs/bidirected_graph.dart';
export 'src/graphs/directed_graph.dart';
Expand Down
6 changes: 3 additions & 3 deletions lib/src/graphs/bidirected_graph.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import 'directed_graph.dart';
/// with symmetric edges.
class BidirectedGraph<T extends Object> extends DirectedGraph<T> {
BidirectedGraph(
Map<T, Set<T>> edges, {
Comparator<T>? comparator,
}) : super(edges, comparator: comparator) {
super.edges, {
super.comparator,
}) {
// Render graph symmetric:
_symmetrize();
}
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: directed_graph
description: Generic directed graph and weighted directed graph with algorithms
enabling sorting and topological ordering of vertices.

version: 0.4.1
version: 0.4.2

homepage: https://github.com/simphotonics/directed_graph

Expand All @@ -18,5 +18,5 @@ dependencies:

dev_dependencies:
benchmark_runner: ^0.0.2
lints: ^2.1.1
test: ^1.24.6
lints: ^3.0.0
test: ^1.25.2

0 comments on commit a5003c1

Please sign in to comment.