Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2701 commits
Select commit Hold shift + click to select a range
8f9e600
Eigenvector centrality (#1015)
vigna Dec 23, 2020
64e8f1f
Credits for last merge
d-michail Dec 23, 2020
40f3e08
Added overflow tests and overflow strategy in Betweenness Centrality …
d-michail Jan 2, 2021
0cd08fa
Credits for last merge.
jsichi Jan 2, 2021
0ade16d
[Util] replace comparators with lambda and deprecate them for removal…
HannesWell Jan 8, 2021
c9c8dbc
Credits for last merge.
jsichi Jan 8, 2021
98fb9f1
Use cached adjacency-list in weighted PageRank (#1024)
FlorentinD Jan 8, 2021
3e9ea3b
Credits for last merge
Toptachamann Jan 8, 2021
398632f
Adding contributor after last merge
Toptachamann Jan 8, 2021
a898758
Replace Map<Integer, E> with ArrayList<E> where possible (#1023)
HannesWell Jan 12, 2021
8761561
Credits for last merge
Toptachamann Jan 12, 2021
040a2c4
GraphOrdering: use VertexDegreeComparator and VertexToIntegerMapping …
HannesWell Jan 13, 2021
d962565
Credits for last merge.
jsichi Jan 13, 2021
b5c63a2
A collection of local algorithms for link prediction. (#1004)
d-michail Jan 16, 2021
a167394
Credits for last merge
Toptachamann Jan 16, 2021
49fc49b
Fixed Integer comparisons (#1028)
d-michail Jan 18, 2021
59f2670
Credits for last merge.
jsichi Jan 18, 2021
7797d91
Parameterized ThreadPoolExecutor in parallel algorithms. (#972)
SChudakov Jan 18, 2021
0515293
Credits for last merge.
jsichi Jan 18, 2021
0a0df41
Placate dependabot
jsichi Jan 21, 2021
3861dc6
Fixed bug & improved code (#1030)
SChudakov Jan 24, 2021
8f3dadb
Credits for last merge
d-michail Jan 24, 2021
c351797
Leverage Java-11's Set.of() (#1033)
HannesWell Jan 25, 2021
1844b3f
Improved NETGEN-style problems generator (#955)
Toptachamann Jan 28, 2021
d3a2066
Credits for last merge
d-michail Jan 28, 2021
7b35d3c
Implemented Howard`s algorithm for finding minimum cycle mean (#862)
SChudakov Feb 1, 2021
6236fea
Credits for last merge
d-michail Feb 1, 2021
103de6c
Add github actions workflow for PR check
jsichi Feb 6, 2021
1be40a5
Merge branch 'master' of github.com:jgrapht/jgrapht
jsichi Feb 6, 2021
4ec60ea
Bump surefire-junit47 dependency to 3.0.0-M5
jsichi Feb 6, 2021
cf489a8
Fix checkstyle violations
jsichi Feb 6, 2021
1b06ee3
Add master branch workflow (#1038)
besza Feb 9, 2021
591678b
Credits for last merges.
jsichi Feb 9, 2021
72e27d8
Update master-workflow.yaml
jsichi Feb 9, 2021
15f7d6c
Webgraph adapter (#1002)
d-michail Feb 9, 2021
63e8f72
Credits for last merge.
jsichi Feb 9, 2021
46248c2
Added support for vertex provider with attributes in JsonImporter (#1…
d-michail Feb 14, 2021
b7f701d
Credits for last merge.
jsichi Feb 14, 2021
d9dcb19
Edge betweenness centrality + Girvan-Newman community detection (#1032)
d-michail Feb 15, 2021
7ffa655
Credits for last merge
Toptachamann Feb 15, 2021
57ba29b
Fixed bug where integer comparisons were performed using == (#1043)
d-michail Feb 19, 2021
46d3a04
Refactored sparse graphs to allow different backend implementations (…
d-michail Feb 22, 2021
1433c47
Credits for last merge.
jsichi Feb 22, 2021
6d70f9e
Improve SupplierUtil: use method-references and lambdas and add test…
HannesWell Feb 23, 2021
a94e535
Credits for last merge.
jsichi Feb 23, 2021
8f71fd4
Renamed abstract classes to make completion easier (#1044)
vigna Feb 23, 2021
c523396
Succinct graph representations (#1041)
vigna Mar 8, 2021
7f42edc
Credits for last merge
d-michail Mar 8, 2021
130e513
Predictable ordering in MaximumCardinalityIterator (#1018)
d-michail Mar 9, 2021
cf89c5f
Credits for last merge
Toptachamann Mar 9, 2021
6457d9a
[Build] Use -noimport instruction of maven-bundle-plugin (#736) (#1045)
HannesWell Mar 11, 2021
c9b7afd
Credits for last merge.
jsichi Mar 11, 2021
a4eba3c
IntrusiveEdgesSpecifics: reduce Map lookups and prevent invalid edge …
HannesWell Mar 13, 2021
de49850
Credits for last merge.
jsichi Mar 13, 2021
5cbf13b
updated copyright year to 2021 (#1048)
jkinable Mar 15, 2021
6ad6394
Make exceptions public top-level classes (#1049)
HannesWell Mar 15, 2021
dae7981
Credits for last merge.
jsichi Mar 15, 2021
b61ebd4
Simplifications and minor improvements of HamiltonianCycleAlgorithms …
HannesWell Mar 17, 2021
0c01c7f
Credits for last merge.
jsichi Mar 17, 2021
f7f0ebe
Improvements of StrongConnectivityInspector algorithms (#1020)
HannesWell Mar 19, 2021
c5dfc4f
Credits for last merge.
jsichi Mar 19, 2021
0b92fd3
code formatting (#1050)
jkinable Mar 19, 2021
a0784fe
[maven-release-plugin] prepare release jgrapht-1.5.1
Mar 19, 2021
7256e6a
Merge branch 'master' of https://github.com/jgrapht/jgrapht
Mar 19, 2021
31fe0a7
[maven-release-plugin] prepare for next development iteration
Mar 19, 2021
1caae83
updated website
Mar 20, 2021
570616f
Release cycle 1.5.2 (#1051)
jkinable Mar 22, 2021
f6098b1
Fixed NullPointerException when no path exists in (#1054)
d-michail Mar 22, 2021
9eb429b
Credits for last merge.
jsichi Mar 22, 2021
2418133
Fixed bug with zero displacement resulting in NaN (#1057)
d-michail Mar 22, 2021
4632ab8
Update HISTORY.md
jkinable Mar 22, 2021
a2048d7
Fix (Eclipse) warnings in tests (#1058)
HannesWell Mar 27, 2021
6c5148a
Credits for last merge.
jsichi Mar 27, 2021
3c1dcee
Add checkstyle Variable/Methode/Type naming convention rules (#1052 -…
HannesWell Mar 29, 2021
2fee1ac
Credits for last merge.
jsichi Mar 29, 2021
4b196a9
[TSPLIBImporter] Consider multi-space delimiters (#1060) (#1062)
HannesWell Mar 29, 2021
d09ba1e
Update HISTORY.md
jkinable Mar 29, 2021
4dbac6a
Make dependabot happy
jsichi Apr 7, 2021
c09f432
Merge branch 'master' of github.com:jgrapht/jgrapht
jsichi Apr 7, 2021
eebb6b7
[Checkstyle] Allow Unicode characters for Type- and MethodNames (#1068)
HannesWell Apr 7, 2021
d88d1ad
Credits for last merge.
jsichi Apr 7, 2021
2964485
[Checkstyle] enforce CatchParameter-name conventions (#1076)
HannesWell Apr 12, 2021
88328d0
Fixed constructor in outgoing-only case (#1063)
vigna Apr 12, 2021
d4474aa
Credits for last merge.
jsichi Apr 12, 2021
4ab9d34
Added support for custom names in vertices/edges collections in json …
d-michail Apr 28, 2021
a897d71
Credits for last merge.
jsichi Apr 28, 2021
4d442b1
Update succinct undirected IAE message (#1081)
rsvoboda Apr 28, 2021
d709366
Credits for last merge.
jsichi Apr 28, 2021
37f2b43
[Checkstyle] enforce TypeParameter-nam conventions (#1079)
HannesWell Apr 28, 2021
ffb5e50
Minor changes for predictable ordering (#1078)
d-michail Apr 28, 2021
e6aaa25
Credits for last merge
jsichi Apr 28, 2021
9f8b5de
Thanks dependabot!
jsichi May 29, 2021
76677ca
Dsi docs (#1086)
vigna Jun 3, 2021
74ef546
Link docs for WebGraph and Sux4J
jsichi Jun 3, 2021
20c1813
Credits for last merge.
jsichi Jun 3, 2021
9cab229
Sigh.
jsichi Jun 3, 2021
cd3f90c
Double sigh.
jsichi Jun 3, 2021
c0cba0c
Github Actions maintenance (#1091)
besza Jun 18, 2021
5d5554c
Credits for last merge (also testing it!)
jsichi Jun 18, 2021
0e7a448
DirectedAcyclicGraph: Added a constructor with the GraphSpecificsStra…
dpdudek Jun 30, 2021
053d5d8
Credits for last merge.
jsichi Jun 30, 2021
5b6a3d3
Add and use NotDirectedAcyclicGraphException (#1098)
kigh-ota Jul 7, 2021
9b9f195
Credits for last merge.
jsichi Jul 7, 2021
68f5912
throw GraphCycleProhibitedException on adding Vertex to DAG that woul…
EnderCrypt Jul 27, 2021
d7337b0
Credits for last merge.
jsichi Jul 27, 2021
7d3612c
Thanks dependabot!
jsichi Aug 8, 2021
0987480
Fix for Issue #1074 - Delta stepping with custom vertices fails (#1094)
SChudakov Aug 17, 2021
1efa7ef
Credits for last merge.
jsichi Aug 17, 2021
9f3b078
Add PathValidator functionality to AllDirectedPaths (#1103)
fransvanbuul Aug 29, 2021
e36523a
Credits for last merge.
jsichi Aug 29, 2021
b40d720
Damn you nokogiri
jsichi Oct 4, 2021
18bda9b
Update MinimumSTCutAlgorithm.java
jkinable Oct 4, 2021
075f7a5
Arbitrary Precision Betweenness Centrality (#1017)
d-michail Nov 8, 2021
526ca77
Credits for last merge.
jsichi Nov 8, 2021
abd186b
Feature/undirected modularity (#1084)
d-michail Nov 8, 2021
eef3aea
Credits for last merge.
jsichi Nov 8, 2021
91e05af
Add callback api to DirectedSimpleCycles (#1111)
sergio91pt Jan 22, 2022
82d7045
Credits for last merge.
jsichi Jan 22, 2022
2f8a09c
Nothing to see here, move along please.
jsichi Mar 21, 2022
1ec9c6c
Reword: fix small typo in javadoc (#1120)
igormoreno Aug 2, 2022
fdf767a
dependabot
jsichi Aug 2, 2022
bd5d25f
chore(deps): update commons-text to 1.10.0 and antlr4-runtime to 4.9.…
reneleonhardt Oct 25, 2022
8c2f4fc
Credits for last merge.
jsichi Oct 25, 2022
b424022
chore(deps): update antlr4 to 4.10.1 (#1141)
reneleonhardt Mar 9, 2023
23c23d3
Credits for last merge.
jsichi Mar 9, 2023
bf86bbc
dependabot dependabot we love dependabot!
jsichi Mar 9, 2023
b6f0e30
Update SimpleGEXFEventDrivenImporter.java (#1144)
DelfinSR Mar 13, 2023
70bb5b5
Credits for last merge.
jsichi Mar 13, 2023
497b4ad
chore(deps): Manage dependencies (#1147)
reneleonhardt Mar 19, 2023
529b351
Credits for last merge.
jsichi Mar 19, 2023
0096c71
chore(deps): Update dependencies (#1143)
reneleonhardt May 2, 2023
1178ece
Credits for last merge.
jsichi May 2, 2023
38e6ff5
Updated readme, history, contributors and copyright headers for 1.5.2…
May 2, 2023
83121cf
Ran code formatter for release 1.5.2
May 2, 2023
fe2d4cd
[maven-release-plugin] prepare release jgrapht-1.5.2
May 2, 2023
882fac0
[maven-release-plugin] prepare for next development iteration
May 2, 2023
7b541c6
Update master-workflow.yaml
jkinable May 2, 2023
c43be99
Update HISTORY.md
jkinable May 2, 2023
94d170f
Updated website after 1.5.2 release
May 4, 2023
3ab8a90
Merge branch 'master' of github.com:jgrapht/jgrapht
May 4, 2023
7084d91
Merge branch 'master' of github.com:jkinable/jgrapht
May 4, 2023
3d6b05e
updated dependencies
Jul 6, 2023
436b6db
Retrieve value from Attribute directly for graph attributes in the DO…
vab2048 Jul 6, 2023
74db60f
Update CONTRIBUTORS.md
jkinable Jul 6, 2023
f996cc4
Update HISTORY.md
jkinable Jul 6, 2023
7ff746c
Update matchedVertices when maximizing cardinality (#1093)
ruben-hofsink Jul 23, 2023
fe40aea
[GMLExporter] add option to export custom gml vertex graphics section…
root-intruder Jul 26, 2023
69011e8
make some final VertexScoringAlgorithms non-final in order to enable …
rvullriede Jul 29, 2023
b627ca6
Removed deque interface (#1159)
d-michail Jul 31, 2023
4ec044c
Update HISTORY.md
jkinable Jul 31, 2023
b92c214
Fix CRLF/LF Consistency (#1166)
syoon2 Dec 17, 2023
f1c32a5
Credits for last merge.
jsichi Dec 17, 2023
e625da9
JUnit 5 Migration (#1163)
syoon2 Dec 27, 2023
9c98ae8
Credits for last merge.
jsichi Dec 27, 2023
e8c9ddb
CI Maintenance (#1167)
syoon2 Jan 1, 2024
97e2a63
Credits for last merge.
jsichi Jan 1, 2024
cbaa12b
Remove npm caching (#1171)
syoon2 Jan 2, 2024
c84f505
Bump org.apache.maven.plugins:maven-source-plugin from 3.2.1 to 3.3.0…
dependabot[bot] Jan 3, 2024
d7b88a0
Bump org.apache.maven.plugins:maven-release-plugin from 3.0.0 to 3.0.…
dependabot[bot] Jan 3, 2024
e7375cc
Bump com.puppycrawl.tools:checkstyle from 10.9.2 to 10.12.7 (#1174)
dependabot[bot] Jan 3, 2024
ba55f0c
Bump antlr4.version from 4.13.0 to 4.13.1 (#1175)
dependabot[bot] Jan 3, 2024
02c65be
Bump jmh.version from 1.36 to 1.37 (#1176)
dependabot[bot] Jan 3, 2024
28eb0e0
Bump org.apache.maven.plugins:maven-gpg-plugin from 3.0.1 to 3.1.0 (#…
dependabot[bot] Jan 3, 2024
644a438
Javadoc Maintenance (#1168)
syoon2 Jan 3, 2024
6ca0906
Credits for last merge.
jsichi Jan 3, 2024
d322517
Javadoc Maintenance: Cleanup (#1179)
syoon2 Jan 4, 2024
381a595
Manually export performance test packages (#1178)
syoon2 Jan 4, 2024
eaa76bc
Fix incorrect symbol replacement (#1180)
syoon2 Jan 4, 2024
5712db1
Run CI with matrix build (#1181)
syoon2 Jan 8, 2024
cb18074
Credits for last merge.
jsichi Jan 8, 2024
60badeb
Use correct context property for snapshot trigger (#1183)
syoon2 Jan 8, 2024
c55529c
Bump org.apache.maven.plugins:maven-checkstyle-plugin (#1184)
dependabot[bot] Jan 14, 2024
e63a829
Bump org.apache.commons:commons-text from 1.10.0 to 1.11.0 (#1185)
dependabot[bot] Jan 14, 2024
09af1e9
Bump org.apfloat:apfloat from 1.10.1 to 1.12.0 (#1186)
dependabot[bot] Jan 14, 2024
549c8ab
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.5.0 to 3.6.…
dependabot[bot] Jan 14, 2024
8da706f
Bump org.apache.maven.plugins:maven-shade-plugin from 3.4.1 to 3.5.1 …
dependabot[bot] Jan 14, 2024
a6ef420
Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.2.3 to 3.2…
dependabot[bot] Jan 18, 2024
db4146a
Bump maven-surefire-plugin.version from 3.2.3 to 3.2.5 (#1191)
dependabot[bot] Jan 18, 2024
7eba8dd
Bump org.apache.maven.plugins:maven-assembly-plugin from 3.5.0 to 3.6…
dependabot[bot] Jan 18, 2024
81bcca8
Bump org.apache.felix:maven-bundle-plugin from 5.1.8 to 5.1.9 (#1193)
dependabot[bot] Jan 18, 2024
c323b82
Update VF2SubgraphIsomorphismState.java (#1202)
Albgarsan Mar 3, 2024
20e5f16
Credits for last merge.
jsichi Mar 3, 2024
227148a
Restore Deque Interface in DoublyLinkedList (#1169)
syoon2 Mar 21, 2024
16ef600
Credits for last merge.
jsichi Mar 21, 2024
71b461f
Fix Javadoc warnings (#1206)
syoon2 Mar 21, 2024
5e72248
Add farthest-insertion algorithm for the TSP (#1105)
alex-cornejo Mar 22, 2024
5597dd4
Credits for last merge.
jsichi Mar 22, 2024
ab0c45e
Update Maven Configurations (#1212)
syoon2 Apr 7, 2024
6a6f167
Credits for last merge.
jsichi Apr 7, 2024
1d22a9d
Documentation Updates (#1213)
syoon2 Apr 11, 2024
bed0139
Credits for last merge.
jsichi Apr 11, 2024
67ca53f
Block Edge Weight Modification in Unmodifiable View (#1217)
syoon2 Apr 11, 2024
6324b13
Credits for last merge.
jsichi Apr 11, 2024
318ad1c
<refactor>: rename SørensenIndexLinkPrediction to SorensenIndexLinkPr…
fwhdzh Aug 26, 2024
939d156
Credits for last merge.
jsichi Aug 26, 2024
f43487f
<fix>: resolve the unexpected behavior of DOTImporter. (#1231)
fwhdzh Sep 17, 2024
7568427
Credits for last merge.
jsichi Sep 17, 2024
4d72f51
Add Missing License Headers (#1215)
syoon2 Oct 2, 2024
fe4d633
Update Inconsistent Javadoc (#1224)
syoon2 Oct 2, 2024
492ed4c
Credits for last merge.
jsichi Oct 2, 2024
72d48c2
Small Code Maintenance (#1222)
syoon2 Oct 15, 2024
dd8f893
Credits for last merge.
jsichi Oct 15, 2024
9f48a59
Fix Suurballe's modifiedWeight calculation (#1230)
YuriBilyarov Oct 22, 2024
49b60d7
Credits for last merge.
jsichi Oct 22, 2024
30b4706
Dependencies version upgrades (#1255)
d-michail Aug 19, 2025
a6047f6
Credits for last merge.
jsichi Aug 19, 2025
650348b
Steiner tree approximation algorithm (#1253)
d-michail Aug 25, 2025
a3a76f7
Added greedy and naive modularity algorithms (#1254)
d-michail Aug 25, 2025
5bcb933
Credits for last merge.
jsichi Aug 25, 2025
628f38f
Increase performance of creating of subgroup (#1108)
catap Sep 11, 2025
281bc1d
Credits for last merge.
jsichi Sep 11, 2025
a86b1d6
Deployment changes for migration to central
jsichi Sep 29, 2025
925c091
Update javadoc output directory
jsichi Sep 30, 2025
29c0da2
Fill in centralSnapshotsUrl
jsichi Sep 30, 2025
3ac0db4
Update snapshot deployment action
jsichi Sep 30, 2025
2ec218c
Oops
jsichi Sep 30, 2025
5d59292
Update doc and shield for snapshot releases
jsichi Oct 2, 2025
4fea9a2
Terminate BFSShortestPath#getPath when target vertex is found (#1225)
Pratyushgoyal66 Jan 7, 2026
53ec4f3
Credits for last merge.
jsichi Jan 7, 2026
339c61c
Document that PathValidator::isValidPath might be called on empty pat…
tobi-emx Jan 7, 2026
c9e737f
Credits for last merge.
jsichi Jan 7, 2026
b0b3a1b
Counting all paths in an acyclic graph (#1291)
asm0dey Jan 7, 2026
2babcf9
Credits for last merge.
jsichi Jan 7, 2026
42c3cbc
Add subgraph support in DOT export (#1282)
rolnico Jan 8, 2026
f191730
Credits for last merge.
jsichi Jan 8, 2026
b2bd41d
Bump JamesIves/github-pages-deploy-action from 4.5.0 to 4.7.6 (#1289)
dependabot[bot] Jan 8, 2026
8b1adfd
Bump actions/checkout from 4 to 6 (#1285)
dependabot[bot] Jan 8, 2026
88a9177
Bump actions/setup-node from 4 to 6 (#1276)
dependabot[bot] Jan 8, 2026
0e0a50d
Bump org.apache.maven.plugins:maven-compiler-plugin (#1267)
dependabot[bot] Jan 8, 2026
bef804e
Bump actions/setup-java from 4 to 5 (#1264)
dependabot[bot] Jan 8, 2026
2d127c3
Nothing to see here, move along.
jsichi Jan 8, 2026
5e5f286
Bump maven-surefire-plugin.version from 3.5.3 to 3.5.4 (#1294)
dependabot[bot] Jan 12, 2026
9794e9d
Bump JamesIves/github-pages-deploy-action from 4.7.6 to 4.8.0 (#1293)
dependabot[bot] Jan 12, 2026
b01dda4
Preserve weights when batch-adding edges with custom types. (#1292)
jsichi Jan 13, 2026
5aa7728
Credits for last merge.
jsichi Jan 13, 2026
834fec3
Bump org.apache.maven.plugins:maven-assembly-plugin from 3.7.1 to 3.8…
dependabot[bot] Jan 24, 2026
acd8190
K connectivity flow based algorithm implementation (#1241)
Banamass Jan 24, 2026
d9634ae
Credits for last merge.
jsichi Jan 24, 2026
ec7cf2b
Implementation of the Gon algorithm for the vertex k-center problem (…
alex-cornejo Jan 27, 2026
9a940bc
Bump org.apache.maven.plugins:maven-shade-plugin from 3.6.0 to 3.6.1 …
dependabot[bot] Feb 10, 2026
473b0a2
Recreate AsSynchronizedGraph caches instead of clearing them (#1302)
apalamarchuk-csi Feb 10, 2026
5007a93
Credits for last merge.
jsichi Feb 10, 2026
53ee051
Bump it.unimi.dsi:fastutil from 8.5.16 to 8.5.18 (#1303)
dependabot[bot] Mar 2, 2026
33242e2
Fix Javadoc warnings. (#1309)
jsichi Mar 25, 2026
7435057
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.2 to 3.1…
dependabot[bot] Mar 25, 2026
262677e
Update Formatting Tools (#1220)
syoon2 Mar 25, 2026
ed6d912
Update copyright year. (#1310)
jsichi Mar 25, 2026
81ba784
Reformat all files. (#1311)
jsichi Mar 26, 2026
a8ff9de
Fix some Eclipse warnings. (#1312)
jsichi Mar 26, 2026
c923865
Update Sonatype snapshot deployment command
jsichi Mar 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*]
charset = utf-8
ident_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

```
* JGraphT version:
* Java version (java -version)/platform:
```

**Issue**



**Steps to reproduce (small coding example)**



**Expected behaviour**



**Other information**
13 changes: 13 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- describe the changes you have made here: what, why, …
Link issues by using the following pattern: [#333](https://github.com/jgrapht/jgrapht/issues/333).
The title of the PR must not reference an issue, because GitHub does not support autolinking there. -->

----

- [ ] I read and understood <https://github.com/jgrapht/jgrapht/wiki/Become-a-Contributor>
- [ ] I read and understood <https://github.com/jgrapht/jgrapht/wiki/How-to-make-your-first-%28code%29-contribution>
- [ ] I added [unit tests](https://github.com/jgrapht/jgrapht/wiki/Unit-testing)
- [ ] I added [documentation](https://github.com/jgrapht/jgrapht/wiki/How-to-write-documentation)
- [ ] I followed the [Coding and Style Conventions](https://github.com/jgrapht/jgrapht/wiki/Coding-and-Style-Conventions)
- [ ] I **have not** modified `HISTORY.md` or `CONTRIBUTORS.md`
- [ ] I ensured that [the git commit message is a good one](https://github.com/joelparkerhenderson/git_commit_message)
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "weekly"
34 changes: 34 additions & 0 deletions .github/workflows/PR-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: JGrapht Pull Request build
on:
pull_request:
types: [opened, synchronize, reopened]
branches:
- master

jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- name: Windows
tag: windows-latest
- name: macOS
tag: macos-latest
- name: Ubuntu
tag: ubuntu-latest
name: Build (${{ matrix.os.name }})
runs-on: ${{ matrix.os.tag }}
steps:
- uses: actions/checkout@v6
- name: Set up JDK 11
uses: actions/setup-java@v5
with:
java-version: 11
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven
shell: bash
run: |
set -e
mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V && mvn verify -B && mvn javadoc:aggregate && mvn checkstyle:check -P checkstyle
83 changes: 83 additions & 0 deletions .github/workflows/master-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: JGrapht Master build
on:
push:
branches:
- master
paths-ignore:
- 'CONTRIBUTORS.md'
- 'HISTORY.md'

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

jobs:
build:
strategy:
matrix:
os:
- name: Windows
tag: windows-latest
- name: macOS
tag: macos-latest
- name: Ubuntu
tag: ubuntu-latest
name: Build (${{ matrix.os.name }})
runs-on: ${{ matrix.os.tag }}
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false

- uses: actions/setup-java@v5
with:
java-version: 11
distribution: 'temurin'
cache: 'maven'

- name: Build with Maven
shell: bash
run: |
set -e
mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V && mvn verify -B && mvn javadoc:aggregate && mvn checkstyle:check -P checkstyle

snapshot-publish:
name: Publish Snapshot
needs: build
if: github.repository == 'jgrapht/jgrapht'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-java@v5
with:
java-version: 11
distribution: 'temurin'
cache: 'maven'
- run: |
set -e
mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V && mvn javadoc:aggregate
- uses: actions/setup-node@v6
with:
node-version: 14
- run: npm install -g hercule@5.0.0

- name: Run prepareDocs script
run: ./etc/prepareDocs.sh
shell: bash

- name: Deploy snapshot to Sonatype
env:
CENTRAL_USER: ${{ secrets.CI_DEPLOY_USERNAME }}
CENTRAL_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
run: mvn package org.sonatype.central:central-publishing-maven-plugin:publish -DskipTests=true --settings etc/snapshot-settings.xml
shell: bash

- name: Publish Github Pages
uses: JamesIves/github-pages-deploy-action@v4.8.0
with:
token: ${{ secrets.PAGES_TOKEN }}
branch: gh-pages
folder: docs
clean: true
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,14 @@ build
.kdev4
.buildpath
.svn
.idea/*
*.iml
out/*
**/out/*
**/bin/*
pom.xml.releaseBackup
**/pom.xml.releaseBackup
**/dependency-reduced-pom.xml
.classpath
docs/javadoc*
docs/_site
90 changes: 90 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and committers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
* Proactively reading, following, and improving community guidelines

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project committers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project committers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Contribution Model

In the JGraphT project, we use the term "committers" rather than "maintainers".

This is because other than release management, most project maintenance is done through contributions,
rather than through work carried out by a dedicated team. Committers
help contributors carry this out through processes such as issue discussions
and code review. Committers generally do not even commit their own work directly;
instead, they wait for another committer to review and merge their contributions.

Understanding and respecting these roles is an important aspect of our
code of conduct.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project committers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at admin@jgrapht.org. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project committers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Thanks for your interest in improving JGraphT.:+1::tada:

Before preparing your first pull request, please take a look at our
[developer guidelines wiki](https://github.com/jgrapht/jgrapht/wiki#developer-pages) page, and in particular the [how to make your first contribution page](https://github.com/jgrapht/jgrapht/wiki/How-to-make-your-first-%28code%29-contribution). The probability that your PR gets accepted increases exponentially when your submission complies with these guidelines. Please do **not** submit PRs that are partially finished: each time you push new commits we get e-mail notifications. If you want feedback or have a dev question, please post an a message to [jgrapht-dev](https://groups.google.com/forum/#!forum/jgrapht-dev) containing a URL to your branch/repository.

Loading