Comments (4)
Thanks, appreciate the response!
from react-archer.
Hey 😊
Unfortunately it is not possible right now, but I'd love to have the option to customize the paths more.
No ETA yet because it might be quite complex!
To quickly solve your issue, you could fork the project (or use patch-package) and edit the following :
Line 157 in f1c316f
You'll be able to do a custom path that fits your needs by changing these lines 😉
from react-archer.
Hey @pierpo, is here any way to achieve this yet?
from react-archer.
Hey! Well, I'd suggest to:
- either fork the lib, and find a solution to change the paths for your specific use case
- find some dirty work-arounds... maybe by creating fake archer elements, creating some straight lines to them (arrow with no pointer), and do the 90° turn this way. This is super super dirty, you'd have to handle the positions manually yourself, which may not be always possible. But it requires no action on the lib's side to work.
Having it as required in the core of the lib is, as I said previously, not an obvious solution 😢
I have no estimation for it, maybe it's not that hard 🤷 It'd require some thinking.
from react-archer.
Related Issues (20)
- Ability to set negative offset; HOT 1
- Suggest: Render order of paths HOT 1
- Problem in Creating Dynamic Archer Elements HOT 1
- `endShape` prop does not work properly `ArcherContainer`
- Arrows are disappearing when I click a button HOT 10
- Minified React error #321 in v4.0.0 HOT 13
- throttle on refreshScreen
- Not working with translate property HOT 3
- Is there any other way to add onClick event for each ArcherElement? HOT 2
- Cant access refs inside <ArcherElement> component HOT 2
- In a Next.js app when you go to a page via a <Link /> click the lines don't load, but when you refresh the page the lines work HOT 6
- Remix: react-archer seems to not be compatible with SSR HOT 4
- arrows don't re-render correctly HOT 4
- Feature request: Allow anchors to be placed absolutely or a percentage of total width/height HOT 1
- Support rotating boxes HOT 1
- ArcherContainer content container fixed height '100%' don't work on dynamic content HOT 2
- curved path between short distances HOT 4
- data.map => multiple ArcherElements cause the forwardRef error HOT 1
- Possibly a duplicate regarding flexDirection: row HOT 2
- Is this library support to draw from one box to multiple boxes?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-archer.