neo4j-contrib / neomodel

An Object Graph Mapper (OGM) for the Neo4j graph database.
https://neomodel.readthedocs.io
MIT License
936 stars 231 forks source link

Feature/diagram script #803

Closed mariusconjeaud closed 3 months ago

mariusconjeaud commented 3 months ago

First stab at generating model diagrams (arrows, and maybe puml in dot notation) from neomodel classes.

Usage like : neomodel_generate_diagram test/diagram_classes.py --file-type arrows --write-to-dir test/data

image
codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 93.93939% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 91.30%. Comparing base (9304000) to head (380bc1b). Report is 3 commits behind head on rc/5.3.1.

Files Patch % Lines
neomodel/scripts/neomodel_generate_diagram.py 95.45% 5 Missing :warning:
neomodel/scripts/utils.py 85.71% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## rc/5.3.1 #803 +/- ## ============================================ + Coverage 91.19% 91.30% +0.11% ============================================ Files 32 34 +2 Lines 4450 4566 +116 ============================================ + Hits 4058 4169 +111 - Misses 392 397 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud