Updated several dependencies. Corrected USAGE.md. Fixed "blink" due to render order when rendering nodes #147
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I updated several dependencies. In particular
three
andtween
. I nudged tween.js up trying to get a version that contained a memory usage improvement, but the GIT version tags don't line up with the NPM versions so I'm not sure I actually got the improved memory usage.I fixed a weird "blink" I had introduced when I added the shape code back in. The "blink" was that for a moment you could see the unlaunched particles and ends of the connection lines inside the node borders before the inner circle and any shape/icon rendered. It was because I was using renderOrder to correct for simply adding the meshes to the node's meshes in the proper order, see nodeViewStandard
WARNING: The following information is NOT an issue with
vizceral
,vizceral-react
, orvizceral-example
. It is with@tweenjs/tween.js
, but I provide this information so hopefully other users don't lose half a day trying to figure out what broke theirvizceral
setup.There is some strange bug in
tween
that causes either the traffic graphs to not display when you try to drill to a node (occurs with tween NPM v16.8.1 and v16.8.2) and I guess a different bug intween
(NPM) versions 16.9.0 and up. There is some strange prototype or method leak that causesthree.js
to get just a few of prototypes/methods fromtween
as attributes on objects. Invizceral
, I triedthree
v0.96.0, v0.98.0, and v0.106.2 and if thetween
version was 16.9.0 or higher the prototype/attribute thing happened regardless of the three version, and if thetween
was v16.8.1 or v16.8.2 there were no errors or warnings but nothing was displayed when you drilled into a node.... so heads up on this. If you want to see this weird thing just update the@tweenjs/tween.js
invizceral
andvizceral-example
and after doing thenpm link
commands so you'll use your localvizceral
,vizceral-react
,vizceral-example
together you just runnpm run dev
invizceral-example
.