I am coding a Julia Package that implements d3.js and dagre-d3.js to display Directed Acyclic Graphs. I have a package "D3Graphs.jl" where I print script onto a webpage. I have the following in my julia code:
print(io, """<script src=\"https://d3js.org/d3.v3.min.js\"></script>""")
This successfully allows me to utilize d3. However, when I try using the dagre-d3.js (https://raw.githubusercontent.com/cpettitt/dagre-d3/master/dist/dagre-d3.js), it does not work. I have the following:
print(io, """<script src=\"https://rawgit.com/cpettitt/dagre-d3/master/dist/dagre-d3.js\"></script>""")
I have used both rawgit versions as well as cdnjs and even changed the https to http. I also uploaded it to the same folder as my jypter notebook. Is there anything else I could do? Thank you!