Skip to content

Conversation

@klauspaiva
Copy link
Contributor

Checklist

  • The code has been run through pretty yarn run pretty
  • The tests pass on CircleCI
  • You have referenced the issue(s) or other PR(s) this fixes/relates-to
  • The PR Template has been filled out (see below)
  • Had a beer because you are awesome

What?

Introduces smart routing to the library.

Why?

For some use cases an automatically generated orthogonal representation of the links results in a better visualisation.
It also improves the overall aesthetic as links find their way around other nodes.

How?

Basically a combination of PathFinding.js and Paths.js, with extra bits of magic to put everything to work together. :)

Demos?

Yes, many!
There is a new storybook entry + demos for enabling it by default to confirm it works well with all other setups already handled by the library.

screen shot 2018-02-14 at 4 09 39 pm

demo

screen shot 2018-02-14 at 4 12 23 pm

screen shot 2018-02-14 at 4 12 32 pm

demo2

demo3

screen shot 2018-02-14 at 4 14 20 pm

screen shot 2018-02-14 at 4 14 37 pm

Feel-Good "programming lol" image:

image
source: https://www.improgrammer.net/best-programming-jokes/

@dylanvorster
Copy link
Member

My head just exploded

@dylanvorster
Copy link
Member

busy merging this into the 5.0.0 branch x__x

@dylanvorster dylanvorster changed the base branch from master to links_refactor February 18, 2018 18:11
@dylanvorster dylanvorster merged commit f811f12 into projectstorm:links_refactor Feb 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants