By selecting [Pencil+ 4 Line] from the viewport sidebar and turning On [Viewport Rendering], Lines can be display in real-time.
Please refer to the Pencil+ 4 Line for Blender online manual for details.
https://docs.psoft.co.jp/plb400w/en/latest/operation/Viewport_Rendering_Usage.html