jerosoler / Drawflow

Simple flow library 🖥️🖱️
https://jerosoler.github.io/Drawflow/
MIT License
4.64k stars 721 forks source link

Misaligned routes in Vue 3 #208

Closed idling-mind closed 3 years ago

idling-mind commented 3 years ago

Hi, Thanks for the great library!

I'm new to both Drawflow as well as Vue. However, I tried testing out this library using Vue example you have shown in #34. The only change I've done do that example is to change the import method to import * as Vue from 'vue' and also added two nodes with one input and output each. When I try to connect the input and output, this is how they come now.

image

Is there something I'm doing wrong while adopting your example to Vue 3? or is this a bug?

jerosoler commented 3 years ago

View: https://github.com/jerosoler/Drawflow/issues/34#issuecomment-779690035

Or:

https://github.com/jerosoler/Drawflow/issues/37#issuecomment-716220711

The problem is css. text-align:initial;

idling-mind commented 3 years ago

My bad! I should have read through that entire conversation! Thanks for the quick reply. It fixed my issue!