Giter VIP home page Giter VIP logo

Comments (3)

exodus4d avatar exodus4d commented on May 26, 2024

Yeah i know. It is not really a bug. It works as expected :) Each new system has an offset of ( "currentSystemXCoordinate + 130px", that will add any new system to the right of your current system.

The only valid solution, is a kind of "collision detection", that will check for overlapping. This can be realy hard to implement especially if there are a lot systems on a map. There is a very nice extension for the jQuery plugin Im using:

http://morrisonpitt.com/farahey/#demo8 (last example)

But that can be confusing or lead to unexpected or not intended behaviour. So for now this is fine.

from pathfinder.

exodus4d avatar exodus4d commented on May 26, 2024

I made a short video with the current WIP state.

from pathfinder.

exodus4d avatar exodus4d commented on May 26, 2024

There will be a new BETA feature in the upcoming v.0.0.14. It is called Magnetization (bad wording I know ;) any other suggestions?).

  • If active, systems effect each other while drag&drop or moving around on a map. (check the video above, to get an idea what i mean)
  • If active, new systems added to the map, will automatically rearrange others that are in its way and prevent "overlapping" of systems.
  • The collision detection even works while moving multiple systems at once around on a map.

Because of the complexity of this feature, it will be shipped out as BETA and will be continuously improved over the next releas iterations. (minor priority)

There are some known minor bugs:

  • The combination of Grid napping and Magnetization does not work as intendet.
  • Auto updated systems on a map, are not automatically rearranged as intendet.
  • A context menu option is not implemented yet (e.g. right click system -> rearrange)

pathfinder_magnet_feature

from pathfinder.

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.