Giter Club home page Giter Club logo

Comments (1)

pomelo-nwu avatar pomelo-nwu commented on August 15, 2024 2

@Yanyan-Wang 方案探讨

  • 1.稳定性布局:比如 一张图里有3个子图需要布局,将data.nodes分为node1,node2,node3,三份数据分别施加不同的布局算法,然后布局后的node1+node2+node3 放入Graphin中,将layout设置为null,graphin则根据data.nodes的xy去布局。layoutController对data的处理
  • 力导子图布局:将data.nodes中需要子图布局的节点同稳定性布局一样施加布局,比如circleLayout。然后该批节点设置layout.force.mass='100000',将layout设置为force。拖拽力导节点使其固定mass在force中的作用

from graphin.

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.