Coder Social home page Coder Social logo

sample json for the GO model about el-grafo HOT 7 CLOSED

bio4j avatar bio4j commented on June 28, 2024
sample json for the GO model

from el-grafo.

Comments (7)

eparejatobes avatar eparejatobes commented on June 28, 2024

This should match as closely as possible what dagre and other js graph libs expect

from el-grafo.

carmen-tm avatar carmen-tm commented on June 28, 2024

working on this with some json examples online

from el-grafo.

carmen-tm avatar carmen-tm commented on June 28, 2024

JSON FROM URL

Hi @laughedelic. When do you think I could have the .json example from the model? The GO part or any other, so I can start playing with something real..Thanks.

Hi @eparejatobes, having problems with this 1st step...
On this branch (test/model/data/from/service) I have tried on the folder "examples/loading-json data" (I'm on a folders/files mess, maybe we can have a look to it later if you can, thanks).

  • The example on folder "1-..." works perfect loading a json but is not on a direct way if you have a look.
  • My trials on folder "2-..." when referencing some json files directly don't work. With a couple of json different urls it always give the same error:
XMLHttpRequest cannot load https://gist.githubusercontent.com/mbostock/1093025/raw/a05a94858375bd0ae023f6950a2b13fac5127637/flare.json. The 'Access-Control-Allow-Origin' header has a value 'https://render.githubusercontent.com' that is not equal to the supplied origin. Origin 'http://localhost:8888' is therefore not allowed access. 

It seems like some issue related to cross-domain requests, but I have no idea what is all this about.

Here is the d3 api about this: d3 requests.
An here on this link is people talking about this, and also here, but I understand very little about this. Thanks.

from el-grafo.

laughedelic avatar laughedelic commented on June 28, 2024

@carmen-ooo working on it right now. I think I have something working, but I'm a bit lost with where I should write what about it..

from el-grafo.

eparejatobes avatar eparejatobes commented on June 28, 2024

moving all this to #15

from el-grafo.

eparejatobes avatar eparejatobes commented on June 28, 2024

@laughedelic could you paste your comments here in #15 ? thanks, closing this

from el-grafo.

laughedelic avatar laughedelic commented on June 28, 2024

ok, moved it there

from el-grafo.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.