-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #869 from emabre/feature/695
Autogenerate class/module diagrams for Python
- Loading branch information
Showing
4 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]> | ||
SPDX-License-Identifier: MPL-2.0 | ||
--> | ||
|
||
# Design of the Python Wrapper Package | ||
|
||
The structure of the `power_grid_model` Python package is shown here below by means of the corresponding class and package diagrams. | ||
|
||
## Class Graph Diagram | ||
|
||
This is the class diagram of the `power_grid_model` package. | ||
|
||
```{note} | ||
Only classes that have connections to other classes are shown in this diagram. | ||
``` | ||
|
||
```{raw} html | ||
<div style="overflow-x: auto; white-space: nowrap;"> | ||
<img src="../_static/classes.svg" style="max-width: none;" alt="Classe diagram"> | ||
</div>. | ||
``` | ||
|
||
## Package Graph Diagram | ||
|
||
This is the package diagram of the `power_grid_model` package. | ||
|
||
```{note} | ||
Only modules that import (or are impored by) other modules are shown in this diagram. | ||
``` | ||
|
||
```{raw} html | ||
<div style="overflow-x: auto; white-space: nowrap;"> | ||
<img src="../_static/packages.svg" style="max-width: none;" alt="Package diagram"> | ||
</div>. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,7 @@ doc = [ | |
"numpydoc", | ||
"pandas", | ||
"gitpython", | ||
"pylint", | ||
] | ||
|
||
[project.urls] | ||
|