support for subpatches, [outlet(~)] and [inlet(~)]