The node you are looking for is at Connecting notes - Adding beams, slurs, ties, etc., when using tuplet and non-tuplet rhythms.