You could check out my bidirectional circuit design tool:
https://github.com/leomcelroy/svg-pcb
Paper on it here:
https://dl.acm.org/doi/abs/10.1145/3559400.3562004
Feel free to reach out if you have questions.
https://hackaday.com/2019/03/02/3d-printing-logic-gates/
https://hackaday.com/2017/01/03/make-logic-gates-out-of-almo...
https://www.nature.com/articles/s41467-019-08678-0
https://www.youtube.com/watch?v=unzNxzKcAGY