Below is a suggestion to wire the LED so it lights up correctly:
Schematic Wiring Changes
Series Connection for LED:
Connect [R1]: P2 to a VCC net (add a net label “VCC” if necessary to represent your supply voltage).
Connect [R1]: P1 to [D1]: A (the LED anode).
Connect [D1]: K (the LED cathode) to [Ground].
Net Reassignment:
Remove the existing connection where [D1]: K is tied to [R1]: P2 via “Net 1” so that the resistor and LED form a proper series circuit.
This wiring ensures that current from your VCC passes through the resistor, then flows through the LED (with the correct polarity) and returns to ground, lighting up the LED.
You can use the "Apply changes" button to update the schematic accordingly.