Skip to content
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

Any reason why there's no customization available for Node like Edge? #127

Closed
ElvinEfendi opened this issue May 9, 2020 · 2 comments
Closed
Labels
comp/node Issue of node component kind/feature New feature or request

Comments

@ElvinEfendi
Copy link

Looking at the source code, there's a way to customize Edge using attrs argument. Whereas for Node I can set only a label:

def __init__(self, label: str = ""):
.

Any fundamental reason why is it not exposed? I'd be happy to make a PR request addressing this.

@mingrammer
Copy link
Owner

mingrammer commented May 9, 2020

There is no big reason. Yes, you can make PR for adding that.

@mingrammer mingrammer added comp/node Issue of node component kind/feature New feature or request labels May 9, 2020
sulewicz pushed a commit to sulewicz/diagrams that referenced this issue May 18, 2020
mingrammer pushed a commit that referenced this issue May 20, 2020
@ElvinEfendi
Copy link
Author

Thanks to @sulewicz this has now been addressed in #151

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp/node Issue of node component kind/feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants