Matching question

mnotermans5114 Community Member Posts: 916 ☆ Roadie ☆
I am working on a matching question for a course. In this course the client wants to have Dropdownboxes next to the draggable items that have the same functionality as the items. So select what items from the right are connected to the left element.

In the trivantis-match.js i found a function called
that probably does exactly what i need. Draw a line between 2 matching objects. Well i donot want to reinvent the wheel , rather use the available functions as is.

For one i think i have to pass properties to it. So how can i use this function ?