GithubHelp home page GithubHelp logo

Network graph - Algorithm about highcharts HOT 3 OPEN

kogratte avatar kogratte commented on September 24, 2024
Network graph - Algorithm

from highcharts.

Comments (3)

karolkolodziej avatar karolkolodziej commented on September 24, 2024

Hi @kogratte!

Thank you for the feedback. Technically you can adjust the layout algorithm via options.


I would like to be able to pick a layout algorithm from anywhere, and use it to place nodes.

I'm not sure how this should work, could you please elaborate?

from highcharts.

kogratte avatar kogratte commented on September 24, 2024

Hey @karolkolodziej , thanks for coming back to me on this topic!

I'm having issues with the rendering algorithm, when working with complex networks (cf joined image).
image

This output is impacted by another issue I opened, which is I cannot move a single node without another one being moved as well (magic...), but this is not what I'm trying to point right now.

As you may have seen in the attachment, our "graph" is quiet complex, as it involves those kind of items:

  • Providers
  • Regions
  • Routers
  • Clients / Apps

Each level has a 1-n relation with the following one, and routers have a n-n relation to other routers (each router having at least one relation). They cannot be orphan nodes in our tree (that's important).

I tried a lot of combination with layout options, but I've never been able to get a decent layout, without proper positioning according nodes weight.

For example, let's take a look at the excellent vis-network library. https://visjs.github.io/vis-network/examples/network/basic_usage/standalone.html

Their modules can be used as standalone, due to a "recent" refactorisation.

The point here is to be able to pick their algorithm, or any other one picked on the internet, and use it to generate node positions.

For the time being, we can use "random", "circle", or provide a function which returns [x, y].

But those are only initial positions..

from highcharts.

karolkolodziej avatar karolkolodziej commented on September 24, 2024

Thank you for the explanation!
For now, only one type of algorithm is available but it is a good idea to extend it or give the ability for users to implement their own.

from highcharts.

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.