Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Fix chop function #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Meatballs1
Copy link
Contributor

The chop length seems to be hardcoded to 27, ignoring the maxLength parameter.

I believe the intention is normally for the maxLength to be 30, and we take away 3 from the maxLength to accomodate the .... I'm not sure where this is used but noticed when trying to resolve another issue :)

@mdouailin
Copy link

Same as #6 this is from the visjs library itself but I think it can be a nice bug fix for this, located here: https://github.com/almende/vis/blob/develop/lib/network/dotparser.js#L708

@Meatballs1
Copy link
Contributor Author

Ah yes, I see. Is the CUSTOM BUILD / DEVELOPMENT steps working? I haven't tried it, but says not :)

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants