Alright, now I see what you're up to. Currently you can get name of the connection but only those that have conditions on them. If I recall correctly you need to get the Constraint from the node for given connection and then get the name of Constraint which should be mapped to the name of sequence flow.
node.getConstraint( connection ).getName()
Let me know if that works and to have support for all sequence flows please file a jira for this so we could implement that for next release.
HTH