Closed DarylMcCullough closed 5 years ago
Fixed a formatting issue that caused yarn format:check to fail (I don't actually understand what the problem was, something about white space, maybe?)
thanks for the contribution @DarylMcCullough! I hope to test this and get it in sometime over the upcoming July 4th holiday. stay tuned.
ok, testing this out locally at http://127.0.0.1:8080/test/hidden_edge_test.html
here is what I see when I add hidden_edge_test.html
to the master
branch. I can reproduce the bug. Thanks @DarylMcCullough for the test and the nice instructions to reproduce the bug!
and here's the fix, testing locally on @DarylMcCullough's branch. works beautifully 👍
:love_letter: Thanks @DarylMcCullough for your contribution! This pull-request has been merge into https://github.com/visjs/vis-network/pull/29
Fixes issue #67 "Network - does updating an edge cause it to reset automatically in Hierarchical view".
There is an example of the buggy behavior in test/hidden_edge_test.html. To see the bug:
The only change is to the file Edge.js in lib/network/modules/components. Rebuild using "yarn" and "yarn build" and then retry the example hidden_edge_test.html