py-d2
py-d2 copied to clipboard
A fully typed python interface for building .d2 graph files for use with the D2 engine.
Bumps [flake8-logging-format](https://github.com/globality-corp/flake8-logging-format) from 0.9.0 to 2024.24.12. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [mypy](https://github.com/python/mypy) from 0.982 to 1.4.1. Changelog Sourced from mypy's changelog. Mypy Release Notes Next release Mypy 1.12 We’ve just uploaded mypy 1.12 to the Python Package Index (PyPI). Mypy...
Bumps [coverage](https://github.com/nedbat/coveragepy) from 6.5.0 to 7.2.7. Changelog Sourced from coverage's changelog. Version 7.2.7 — 2023-05-29 Fix: reverted a change from 6.4.3 <pull 1347b_>_ that helped Cython, but also increased the...
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.2 to 7.4.4. Release notes Sourced from pytest's releases. pytest 7.4.4 (2023-12-31) Bug Fixes #11140: Fix non-string constants at the top of file being detected as docstrings...
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 4.0.0 to 4.1.0. Changelog Sourced from pytest-cov's changelog. 4.1.0 (2023-05-24) Updated CI with new Pythons and dependencies. Removed rsyncdir support. This makes pytest-cov compatible with xdist 3.0....
Bumps [black](https://github.com/psf/black) from 23.1.0 to 23.3.0. Release notes Sourced from black's releases. 23.3.0 Highlights This release fixes a longstanding confusing behavior in Black's GitHub action, where the version of the...
### Description D2 supports properties like `style` for connections, same as it does for shapes (cf. e.g. the [font color example](https://d2lang.com/tour/style/#font-color)). But py-d2 only seems to support them for shapes,...
# Description ## Problem description Consider e.g. a label with a newline in it: ```python from py_d2 import D2Diagram, D2Shape shape = D2Shape(name="SomeShape", label="Some\nlabel") diagram = D2Diagram(shapes=[shape]) print(str(diagram)) ``` py-d2...
### Description Looks like PyPI only has version 1.0.1 and I would like to use the icon support (was wondering why that wasn't working). Would it be possible to release...
This pull request adds support for `font-color` and `border-radius` within the `D2Style` class. These additions allow users to further customize the appearance of their diagrams by controlling the font color...