3

This is a very simple question. How can I indicate the cytoscape as a source via a url? I know with D3 it is very simple

 <script src="https://d3js.org/d3.v4.min.js"></script>

What is the equivalent address for cytoscape?

Thanks!

SumNeuron
  • 4,850
  • 5
  • 39
  • 107
  • You should probably ask a separate question if you continue to have problems getting the intro tutorial running, since it's a very different topic than your original question. That said, as a first guess - do you have a
    container in your html? That would cause the JS to display nothing.
    – gbe Oct 28 '16 at 06:20
  • @gbe understood. I will make a new question. No, that code is not included. Also what does CDN stand for? – SumNeuron Oct 28 '16 at 06:54
  • 1
    You'll need some minimal html scaffolding in your file to set up things; the cytoscape tutorial assumes you know how to supply it. Most tutorials on running javascript should get you started. And CDN stands for content delivery network. – gbe Oct 28 '16 at 06:59
  • You mean: ` stuffstuff` – SumNeuron Oct 28 '16 at 07:01

1 Answers1

3

The term you're looking for is a CDN-hosted copy of the code; strictly speaking, you're still using a URL even when you specify a local copy.

It looks like Cloudflare (a major CDN company) hosts copies of the code; a google search turned up this index which should help you find the correct links for the version you need.

gbe
  • 671
  • 3
  • 11