-
Notifications
You must be signed in to change notification settings - Fork 4
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
V3 (old) of d3.js Required #5
Comments
Yes, I have not been able to keep delphin-viz up to date with D3, but luckily V3 is still available, and that is what we pull in for the demo: Line 15 in 30f6144
I think at a minimum we should mention the version requirement on the README, but it would be great if someone could refresh the visualization function to use V5 of d3.js (or, even better, harmonize all visualizers to the same framework, whether it's D3 or something else). |
OK, so step one, we need to document the version requirements. I agree it would be nice to get all the components using the same framework (and I think D3 is likely to be the right choice). This is something I could work on, but I'm fairly time-limited at the moment, so that could be a while off. @goodmami, one thing I had been wondering about is the synchronisation of your DMRS visualizer code. It lives somewhere else, and we just have a dump of a particular version right? Might there be a more sensible way of doing this? |
@ned2 the visualizer code here was copied from Demophin, where it still is kept separate for no reason other than I haven't updated Demophin... but I don't really plan to; I think it should be deprecated in favor of delphin-viz. Therefore, the delphin-viz version of dmrs.js is now the canonical version. |
Great, good to know! That certainly keeps things simpler too.
…On Sun, 23 Sep 2018 at 12:29, Michael Wayne Goodman < ***@***.***> wrote:
@ned2 <https://github.com/ned2> the visualizer code here was copied from
Demophin, where it still is kept separate for no reason other than I
haven't updated Demophin... but I don't really plan to; I think it should
be deprecated in favor of delphin-viz. Therefore, the delphin-viz version
of dmrs.js is now the canonical version.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACs1GNzWCzaI8nFXSBebZGp3oWN_HBUzks5udvILgaJpZM4W1hah>
.
--
nedned.net
|
It seems that you need V3 of d3.js (now at version 5), since some of the functions used to render dmrs have been renamed.
https://stackoverflow.com/questions/38391411/what-is-the-d3-js-v4-0-equivalent-for-d3-scale-category10/38391511#38391511
The text was updated successfully, but these errors were encountered: