Cytoscape. Load dependency from URL

2019-02-25 05:23发布

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!

1条回答
一纸荒年 Trace。
2楼-- · 2019-02-25 05:56

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.

查看更多
登录 后发表回答