Cytoscape的。从URL加载依赖关系 [英] Cytoscape. Load dependency from URL
本文介绍了Cytoscape的。从URL加载依赖关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何通过网址将cytoscape指定为来源?
我知道
D3
这很简单 < ; script src =https://d3js.org/d3.v4.min.js>< / script>
什么是cytoscape的等效地址?
感谢!
解决方案
您要查找的术语是CDN托管的代码副本;严格地说,即使在指定本地副本时,您仍然在使用URL。
Cloudflare(一家主要的CDN公司)看起来像托管代码副本;谷歌搜索出现在这个索引中,这应该可以帮助您找到所需版本的正确链接。
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!
解决方案
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.
这篇关于Cytoscape的。从URL加载依赖关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文