DaHaiz / ngFlowchart

ngFlowchart enables drag&drop modelling of graphs in web applications
http://one-logic.github.io/ngFlowchart/dist/
MIT License
103 stars 64 forks source link

Adding new connector will not update size of Node #46

Open fahimmahmoodmir opened 7 years ago

fahimmahmoodmir commented 7 years ago

I tried adding new connecter both output and input connector dynamically. Result wasn't good the connectors were going out from the node itself. I used the default css provided in demo .Here is the picture:

image

Anyone else having this problem? any workaround?

HACHIMIam commented 7 years ago

you can modify this by going to flowchat/node.html and add the width to ng-attr-style you can add a attribute to newNod model in app.js that contain the numbre of connector and set the width dynamically

screen shot 2017-06-03 at 14 40 04

screen shot 2017-06-03 at 14 40 51

kbaghel commented 7 years ago

@HACHIMIam , how you create node like (yes, no, maybe). Can you please suggest here.