... sentence you're trying to diagram is not grammatically precise (and ... vote in a federal election ONLY IF you're a citizen of ... precise sentence, the words "only" and "if" will not be split from ... intended meaning is the phrase "only if".
The moral ...