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

Unable to change background color of individual operator in topology

Open AnujBenjwal opened this issue 7 years ago • 6 comments

I have created a topology with some numbers of operators and i want to change color of any individual operator according to a specific condition. I found that operator 's css generates at the time of create operator but there is no option to update that css or any property of that operator.

AnujBenjwal avatar Mar 21 '18 14:03 AnujBenjwal

You can set css classes on your operators, maybe you could use that? Otherwise changing the style could be indeed a feature we could add...

sdrdis avatar Mar 21 '18 23:03 sdrdis

My requirement is to generate unique class for each operator in a topology and for this I am adding unique number(random) in class when creating an operator. However, I am unable to fetch that class after operator is created.

AnujBenjwal avatar Mar 22 '18 06:03 AnujBenjwal

Hi Team, waiting for your reply.. Please update

PankajJosh avatar Mar 26 '18 10:03 PankajJosh

hi, please share how to colourise each, how to add to them uniquely

umarsuhail avatar Aug 13 '18 08:08 umarsuhail

You can give each operator a CSS class as part of the operator data. You can use that to set the colour.

On Mon, 13 Aug 2018, 10:50 umarsuhail, [email protected] wrote:

hi, please share how to colourise each, how to add to them uniquely

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sdrdis/jquery.flowchart/issues/69#issuecomment-412450529, or mute the thread https://github.com/notifications/unsubscribe-auth/ACItM55khqO5WIOzjonWRw4JPJDPo6GBks5uQT3igaJpZM4S0D78 .

runette avatar Aug 13 '18 10:08 runette

ok, can we implement this with react js

umarsuhail avatar Aug 13 '18 10:08 umarsuhail