About task link set

I want to set like a task should begin after another,usually I can use dragging a line from a task to another。but sometimes I want to input the task id in lightbox to appoint the pre-task.How can I do?

Hello,

You can find a working example here: DHTMLX Snippet Tool