-
-
Notifications
You must be signed in to change notification settings - Fork 384
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
visjs-network#39: add penwidth support for dot language #24
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'penwidth' defines the line width as 'width'. If both are exist, 'penwidth' is used and 'width' is discarded as described in [1]. This update fixes #24. [1] https://www.graphviz.org/doc/info/attrs.html#d:penwidth
To reduce the number of statements of parseAttributeList(), move parsing 'dir' attribute to function parseDirAttribute() because it is going to reach max-statements limitation of lint.
'penwidth' defines the line width as 'width'. If both are exist, 'penwidth' is used and 'width' is discarded as described in [1]. This update fixes #24. [1] https://www.graphviz.org/doc/info/attrs.html#d:penwidth
I think this is ready to be merged! The screenshot shows that it worked, but feel free to check it yourself before merging. Thanks! |
@Thomaash Can you please have a look at this. I think we can merge this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. A test would be nice though.
This example has been updated: |
Yeah. But it doesn't have the beauty of running |
I have no ide how to test something like this without a "visual" test. See also #33 for this. |
@Thomaash @yotamberk Can somebody please merge this so that I can create the next big release. Thx! |
This is an original contribution from @geminoa: visjs-community/visjs-network#39
part of #7