to_file

sqlmermaid.to_file(constr: str, output_fp: str)

writes schema diagram to file

markdown or html depending on file extension