Coder Social home page Coder Social logo

f-free-paper's People

Contributors

metaxy avatar

Watchers

 avatar  avatar  avatar

f-free-paper's Issues

Displaying Graphs

What is the best way to arrange the graphs in a layout?

Sources:
http://js.cytoscape.org/#layouts

https://github.com/jacomyal/sigma.js/tree/master/plugins

https://en.wikipedia.org/wiki/Force-directed_graph_drawing

Different Layout Types:

Random

The random layout puts nodes in random positions within the viewport.

Grid

The grid layout puts nodes in a well-spaced grid.

Circle

The circle layout puts nodes in a circle.

Concentric

The concentric layout positions nodes in concentric circles, based on a metric that you specify to segregate the nodes into levels.

Breadthfirst

The breadthfirst layout puts nodes in a hierarchy, based on a breadthfirst traversal of the graph.

Cose

The cose (Compound Spring Embedder) layout uses a physics simulation to lay out graphs. It works well with noncompound graphs and it has additional logic to support compound graphs well.

Slow but better results

Spread

The spread layout uses a force-directed physics simulation with several external libraries. The layout tries to keep elements spread out evenly, making good use of constrained space.

Code here

Cola

The cola layout uses a force-directed physics simulation with several sophisticated constraints, written by Tim Dwyer.

Code here
Some Examples

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.