nylen / d3-process-map

Web application to illustrate the relationships between objects in a process using d3.js.
MIT License
416 stars 196 forks source link

Possible to change arrow direction? #17

Closed laxen00 closed 7 years ago

laxen00 commented 8 years ago

hai nylen, it is possible to change the arrow direction ? from depends on to depends on by, txs

nylen commented 7 years ago

You should switch depends and dependedOnBy in your data file. There is some custom logic that makes sure the ends of the arrows appear in the right place (at the edge of a rectangle). Right now this only works one way.