Jeffreyrn / vue-simple-flowchart

flowchart editor for Vue.js
https://jeffreyrn.github.io/vue-simple-flowchart/demo/
MIT License
267 stars 98 forks source link

Dynamic card width #2

Open agronick opened 5 years ago

agronick commented 5 years ago

It would be nice if the arrows still aligned when the width of the card was increased via css.

Also it would be nice to be able to control the contents of the card with a slot.

Zomis commented 5 years ago

I totally agree about the slot thingy, I was just disappointed that it only supports text as content.

I would say that this issue can be renamed to simply "Dynamic card" or "Dynamic node".

agronick commented 5 years ago

I thinks thats changed. Slots support anything now.

Zomis commented 5 years ago

Vue slots in general supports anything, yes. But this project isn't using slots. Neither in https://github.com/Jeffreyrn/vue-simple-flowchart/blob/master/src/components/FlowchartNode.vue or in https://github.com/Jeffreyrn/vue-simple-flowchart/blob/master/src/components/SimpleFlowchart.vue, which is a big reason for me to not use this.

agronick commented 5 years ago

I misunderstood. I thought you were the maintainer. Yeah slots would open this up to a lot more use cases.

ovictoraurelio commented 5 years ago

Are you using another project to work with flowchart? Wich one?