Hi,
I have a requirement to access a connector based on its name.
I am able to do this for nodes, but I've tried getConnector without luck.
Here's a snippet of my code:
if ($find(txtDetailObjectType).get_value() != '') { // All bound objects have an object type (stored as an addInfo property); connectors do not
var object = diagram.getNode($find(txtDetailObjectName).get_value());
} else { // Must be a connector
object = diagram.getConnector($find(txtDetailObjectName).get_value()); // It seems that is no such method as getConnector ***
}
How do I go about getting the connector?
Also, tell me where I'd find this documented.
Thanks
Jim