alchemy.js

Can't render a simple HTML page example

主宰稳场 提交于 2020-04-16 03:31:09
问题 I saw an example at http://graphalchemist.github.io/Alchemy/#/examples I am working with 'basic graph' example I wanted to copy the example on my own local computer. I made a directory with two files : trial.html and charlize.json , and copied the code. Only change I made was switching dataSource: 'data/charlize.json', to dataSource: 'charlize.json', ( I also tried ./charlize.json) When I open trial.html , I don't get the network graph. I get a blank white HTML page . I don't see what I have

Can't render a simple HTML page example

六眼飞鱼酱① 提交于 2020-04-16 03:31:04
问题 I saw an example at http://graphalchemist.github.io/Alchemy/#/examples I am working with 'basic graph' example I wanted to copy the example on my own local computer. I made a directory with two files : trial.html and charlize.json , and copied the code. Only change I made was switching dataSource: 'data/charlize.json', to dataSource: 'charlize.json', ( I also tried ./charlize.json) When I open trial.html , I don't get the network graph. I get a blank white HTML page . I don't see what I have

from Neo4j to GraphJSON with Ruby

馋奶兔 提交于 2019-12-24 15:52:51
问题 I'm trying to get visualizations using d3.js or alchemy.js--but alchemy, in particular, requires the datasource to be in GraphJSON. I've been playing around with the tutorials and examples of Max De Marzi (using neography), Michael Hunger (cy2neo, js), Neo4j, and Neo4j.rb -- but I cannot seem to get all the way there. Mostly because I don't know what I'm doing--but this is how I'm trying to learn. What I'm trying to achieve would be along the lines of: https://bl.ocks.org/mbostock/3750558 or