You can either replace the gates in the GUI, or edit the diagram.json file.
Example D-Flip Flop.
Enable (E).
Input (D).
Output (Q).
Inverted Output (!Q).
Output (Q).
Inverted Output (!Q).
sw1:1a
sw1:2a
sw1:3a
sw1:4a
sw1:5a
sw1:6a
sw1:7a
sw1:8a
sw1:8b
sw1:7b
sw1:6b
sw1:5b
sw1:4b
sw1:3b
sw1:2b
sw1:1b
pwr1:VCC
Loading
tt-block-input
Loading
tt-block-output
flipflop1:D
flipflop1:CLK
flipflop1:Q
flipflop1:NOTQ
gate8:A
gate8:B
gate8:OUT
gate9:A
gate9:B
gate9:OUT
gate10:A
gate10:B
gate10:OUT
gate7:A
gate7:B
gate7:OUT
led1:A
led1:C
pwr6:GND
led2:A
led2:C
led3:A
led3:C
pwr2:GND
led4:A
led4:C
pwr7:GND
led5:A
led5:C
led6:A
led6:C
pwr8:GND