flowchart.js icon indicating copy to clipboard operation
flowchart.js copied to clipboard

Change color/text on some lines/arrows

Open Badhumvee opened this issue 10 years ago • 12 comments

Hi Adrai, Thanks for creating this awesome tool!

I have some flowcharts where I need to add some text along some of the arrows (like labels along the arrow) and some where I need to display the arrow using a specific/different color. I see in your example that you are able to add text to the arrows going out of a condition box, but did not see any way to add a text for an arrow going out of an operation box, which is what I need to do. Can you please advise how I might be able to add text label to an arrow after operation box and to maybe change its color as well.

Once again, thanks a lot for creating this.
Cheers!

Badhumvee avatar Sep 29 '15 06:09 Badhumvee

You're right at the moment only arrows going out of a condition box can have text (normally for yes and no paths)... sorry :-(

adrai avatar Sep 29 '15 07:09 adrai

Can we atleast change the color of a specific arrow? I am no good at javascript, but hoping you can add this feature to this awesome library.

Badhumvee avatar Sep 29 '15 08:09 Badhumvee

Right now I have no time to do this... If you know somebody who wants to contribute... everybody is welcome

adrai avatar Sep 29 '15 08:09 adrai

Thanks. Cheers!

Badhumvee avatar Sep 29 '15 14:09 Badhumvee

Hi Adriano, Two quick questions please:

  1. Is it possible to put the arrow head on the connectors in the middle so multiple arrows coming in to same box do not show up only with one arrowhead?
  2. The text that I put inside the operation box seems to be sensitive to certain characters.  I had some text with ';' and '()' and it truncated all the following text characters  after those characters.  I understand you are using those characters to separate the meta properties, etc.  Is there a way to use like a escape signature (i.e. /n)to print those special characters in the text box anyway?   Also, can you please send the list of such characters which should be avoided inside the text box?   Thanks a lot.  Cheers!
  From: Adriano Raiano <[email protected]>

To: adrai/flowchart.js [email protected] Cc: Badhumvee [email protected] Sent: Tuesday, September 29, 2015 1:12 AM Subject: Re: [flowchart.js] Change color/text on some lines/arrows (#64)

Right now I have no time to do this... If you know somebody who wants to contribute... everybody is welcome— Reply to this email directly or view it on GitHub.

Badhumvee avatar Oct 04 '15 05:10 Badhumvee

Hi!

  1. not possible right now :-(

  2. v1.4.2 ;-)

adrai avatar Oct 04 '15 10:10 adrai

Where do I find the v1.4.2 ?  I dont see it on the website or on github.  Or is it not out yet? Thanks. From: Adriano Raiano [email protected] To: adrai/flowchart.js [email protected] Cc: Badhumvee [email protected] Sent: Sunday, October 4, 2015 3:58 AM Subject: Re: [flowchart.js] Change color/text on some lines/arrows (#64)

Hi!1) not possible right now :-(2) v1.4.2 ;-)— Reply to this email directly or view it on GitHub.

Badhumvee avatar Oct 04 '15 17:10 Badhumvee

I found it.  Thanks. From: Adriano Raiano [email protected] To: adrai/flowchart.js [email protected] Cc: Badhumvee [email protected] Sent: Sunday, October 4, 2015 3:58 AM Subject: Re: [flowchart.js] Change color/text on some lines/arrows (#64)

Hi!1) not possible right now :-(2) v1.4.2 ;-)— Reply to this email directly or view it on GitHub.

Badhumvee avatar Oct 04 '15 17:10 Badhumvee

At the moment it's just the latest, but you can also follow the git tags

Il giorno 4-ott-2015, alle ore 19:39, Badhumvee <[email protected]mailto:[email protected]> ha scritto:

Where do I find the v1.4.2 ? I dont see it on the website or on github. Or is it not out yet? Thanks. From: Adriano Raiano <[email protected]mailto:[email protected]> To: adrai/flowchart.js <[email protected]mailto:[email protected]> Cc: Badhumvee <[email protected]mailto:[email protected]> Sent: Sunday, October 4, 2015 3:58 AM Subject: Re: [flowchart.js] Change color/text on some lines/arrows (#64)

Hi!1) not possible right now :-(2) v1.4.2 ;-)- Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHubhttps://github.com/adrai/flowchart.js/issues/64#issuecomment-145368393.

adrai avatar Oct 04 '15 17:10 adrai

Can we have sample project for this?

rajcitystar avatar Oct 06 '15 10:10 rajcitystar

Can we have sample project for this?

rajcitystar avatar Oct 06 '15 10:10 rajcitystar

Can we have sample project for this?

rajcitystar avatar Oct 06 '15 10:10 rajcitystar