-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Customizable graph label -> remove erdantic watermark #78
Comments
Hi @mansenfranzen. Thanks for the feedback. As an immediate workaround without any changes to erdantic, you could generate the pygraphviz object and then modify its attributes to remove the label, or generate the graphviz DOT language specification of your graph, and modify the DOT to remove the label. I'm open to making this customizable and would like to think a little more about the API design. |
Hi @jayqi, thanks for taking your time looking at this issue! Regarding an immediate workaround, I'm feeling a bit reluctant to put any I would be more than happy to encapsulate everything required within From my point of view, the Actually while thinking about Coming back to the API consideration, the |
Hi @mansenfranzen, Thanks for following up and for taking the time to look at the code and think about the design. I think your suggestion for supporting keyword arguments or a dictionary that is passed through to the If you are willing to contribute a PR, that would be welcome. One design choice is whether #74 may be relevant here—that had mentioned passing through node and edge configuration. |
Hi @mansenfranzen, Customizing the graph label is available in the new v1.0.0. This is currently a pre-release version (v1.0.0rc1), installable with There are new You can see documentation regarding this functionality here: https://erdantic.drivendata.org/v1.0/customizing/ |
First of all, thanks for creating
erdantic
in the first place! I really like how it's possible to generate ERDs from pydantic models and ouput them via SVG.I just really wish it would be possible to provide custom labels for the resulting graphs. Or at least to provide a possibility to remove the erdantic watermark
Created by erdantic v0.5.0 <https://github.com/drivendataorg/erdantic>
.From my personal view, this is a drawback as it distracts the viewer from the main content. Moreover, it feels like the resulting diagram was generated with some shareware or free license of a proprietary software which requires self credits. Actual, the total opposite is the case because you've chosen MIT license (thanks for that!). I strongly believe that your package does not require the watermark and would enjoy even wider usage without it.
Currently, I hesitate to include it into
autodoc_pydantic
without any customization. @yves-renier has created a great PR to leverageerdantic
improving the auto-documentation of pydantic models.I would be willing to provide a PR upstream adding this feature if you agree.
The text was updated successfully, but these errors were encountered: