Open capy-pl opened 5 years ago
Hi, @capy-pl, sorry for the delay in responding. We aren't currently working on this, but it would be a good feature and we'd welcome a pull request if anyone had time to do it. :)
@clenk I may take a look at this.
I think the question I have is, what's the purpose of the python code in this repo?
Hi @dwjohnston thanks for the interest. The python code is used to enable visualizing STIX content inside Jupyter notebooks. More info here. The STIX generator uses it for this purpose.
@clenk with the dependencies that you have copied in here:
Have those been modified in any way?
Also, looks like d3 version is 3.5.14 - I should assume that ^3 is the only supported version?
@clenk Alright man - take a look at the PR.
For testing on your side:
Thanks @dwjohnston I'll take a look when I get the chance. The dependencies have not been modified in any way.
For d3, we've been looking into upgrading it and actually are looking at switching to Apache ECharts.
Thanks @dwjohnston I'll take a look when I get the chance. The dependencies have not been modified in any way.
For d3, we've been looking into upgrading it and actually are looking at switching to Apache ECharts.
Ooh, that reminds me - probably should update the PR to remove the hardcoded d3.js and instead refer to one in the node modules. (Otherwise the published NPM package, the use in Jupyter/local may be different).
Is there any plan for creating an independent library to seperate the js module from other parts? Or consider adding a package.json so user can install the project by using
npm install
.