简体   繁体   English

由SQL Query动态创建的Cytoscape节点

[英]Cytoscape Nodes Dynamically Created by SQL Query

I'm using a mysql database and I'm trying to create a network graph like a brainstorm chart..... I'm yet to find any examples of Cytoscape Nodes dynamically being created by SQL Query or any other code libary like Cytoscape or neo4j that can do it . 我正在使用一个mysql数据库,我正在尝试创建一个类似头脑风暴图的网络图.....我还没有找到任何由SQL Query或任何其他代码库(如Cytoscape)动态创建的Cytoscape节点的示例或neo4j,它可以做到这一点。 I have tried converting it to json first but there is also little documentation on how that works so I'm rather stuck... if there is anything anyone can suggest? 我已经尝试过将它转换为json,但是关于它是如何工作的文档也很少,所以我很卡住......如果有什么人都可以建议的话?

The JSON spec is clearly documented: http://js.cytoscape.org/#notation/elements-json JSON规范清楚地记录在案: http//js.cytoscape.org/#notation/elements-json

Wherever your data is coming from, simply convert it to this format. 无论您的数据来自何处,只需将其转换为此格式即可。

Beyond that, I can't offer any help because your question is unclear. 除此之外,我无法提供任何帮助,因为你的问题不清楚。 Maybe you need some more background information about how databases and webservers work: https://duckduckgo.com/?q=databases+web+servers&t=ffab&ia=web 也许您需要更多有关数据库和Web服务器如何工作的背景信息: https//duckduckgo.com/? q = database = web /+servers t = ffab iia = web

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM