Giter Site home page Giter Site logo

Comments (10)

JohnGalt1717 avatar JohnGalt1717 commented on May 19, 2024 3

I too would welcome it. A full example of the component.ts file for the view that is in the readme.md would be a help. I'm not getting any errors but I'm also not getting anything displaying and since I can't see the source code for the demo I don't have a clue what I'm doing wrong.

from ngx-graph.

fabianooc87 avatar fabianooc87 commented on May 19, 2024 3

You're right, the documentation could use some fleshing out. The demo shows what some of the options do. And the source code for the demo is here. As you explore and learn how it works, would you mind writing a PR to improve our docs? I'd be happy to help explain things that you get stuck on.

Hi, I'd like to download the source code for the demo, but the link is off. Is there another link where i can download it?
Thanks!

from ngx-graph.

isaacplmann avatar isaacplmann commented on May 19, 2024 1

You're right, the documentation could use some fleshing out. The demo shows what some of the options do. And the source code for the demo is here. As you explore and learn how it works, would you mind writing a PR to improve our docs? I'd be happy to help explain things that you get stuck on.

from ngx-graph.

assafsun avatar assafsun commented on May 19, 2024 1

Hi @ajh187! is this issue still relevant?

from ngx-graph.

marjan-georgiev avatar marjan-georgiev commented on May 19, 2024 1

Here's the demo for the current stable release (5.x): https://github.com/swimlane/ngx-graph/tree/5.x/demo

The master branch is the code for the upcoming 6.0.0 release.

from ngx-graph.

Konnoke avatar Konnoke commented on May 19, 2024

I too would welcome some more documentations and examples!

from ngx-graph.

isaacplmann avatar isaacplmann commented on May 19, 2024

@Konnoke what specific scenarios are you looking for? What are you trying to do? I'll talk you through your use case over on gitter if you make a PR with what you learn.

from ngx-graph.

ajh187 avatar ajh187 commented on May 19, 2024

@isaacplmann I would just be looking for a more simple node and link connection to the actual visual. As it currently is the connections seem to be a bit abstract. If there was a more Simple UI that just has the very basics with the nodes and link file/json (or whatever it is) I believe it would be a lot more helpful for people starting out.

EDIT: Also I am using the demo and have manipulated it a little bit (but this might be a little off topic) I wanted to grab more info from the turbine.json and display it in the tooltip on the front end. so in data.ts i tried putting a new field called metadata like so:

for (const key in tasks.tasks) {
   const node = tasks.tasks[key];
   node.id = id();
   node.label = key;
   node.metadata = key.type;
   nodes.push(node);
 }

Yet i have no idea what to equal it to to get the type within the turbine.json.

If anyone could help out that would be great!

Thank you

from ngx-graph.

jlarso11 avatar jlarso11 commented on May 19, 2024

Hi, I would love to get the demo code as well but the link appears to be broken. Thanks

from ngx-graph.

jlarso11 avatar jlarso11 commented on May 19, 2024

@marjan-georgiev - Thanks!

from ngx-graph.

Related Issues (20)

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.