I have yellow-and, occasionally, black- swallowtails come out of dillweed. They've been around for years.
However,I don't think you can go wrong by setting out some phlox paniculata
somewhere on your property. (check out the link)
It's a swallowtail magnet.
For example, there's some in the front yard here: