Add an extra property in the linkData during link creation

Hi Walter,
I want to add an extra property in the linkData before inserting into linkDataArray during link creation.
This extra property is then bound with some property of the link(like color, opacity, etc. ) How can I achieve this?

During data population, we can do this:

linkDataArray.push({
“from”: parent,
“to”: key,
“fromPort” : parent,
“toPort” : key,
“someExtraProp” : 0
});

But during link creation too, i want some default value for that extra property.

Thanks,

Found the solution:

“linkingTool.archetypeLinkData” : {
someExtraProp: value
}