adrai/flowchart.js — pull request #18 by billcavalieri (2014-04-25 20:27:30+00:00)
Title: Added node id to objects

Set node id for symbols and text. Append a t to the text since Raphael does not support SVG groups.

I can then use jquery to manipulate the chart.

//change fill color to green for completed steps
$('#st').attr('fill', 'green')

//alert on both the symbol and the text
$('#st*').click( function(){
alert('info here');
});