Skip to main content

Answer · Flowcharts and block diagrams

Can I turn my source code into a patent flowchart?

Yes, but convert the code into functional steps rather than drawing each line: a box says 'Validate the token', not 'if (tok == null) return'. The chart should show the logic the claims recite, with numerals the description explains. Actual code is a program listing; one of over 300 lines must go in a Computer Program Listing Appendix under 37 CFR 1.96(c). PatentDrawingsAI turns a step outline into a flowchart in minutes; each chart is one credit, from $19 for 40.

Receive a photo of the productDetect the outline of theproductIs the outlineclosed?YesNoConvert the outline to lineartPlace the figure on a drawingsheetEnd
Example, drawn by the same code and layout as your figures.

Draw this figure on a filing sheet

Upload a photo, sketch or CAD screenshot, or describe a method. You get black-and-white drawings with editable numerals on USPTO, EPO or PCT sheets. $19 for 40 drawings, one-time.

Open the drawing tool

The details

Function, not syntax

Variable names, brackets and library calls do not belong in boxes. Describe what the step achieves so the chart still reads correctly if the code is rewritten.

Keep the claimed logic visible

Branches and loops that matter to the claims become diamonds and return arrows; error handling usually does not, unless claimed.

Short listings as drawings

1.96(b) lets a listing of 300 lines or fewer (72 characters per line or fewer) be filed as drawings or in the specification; as drawings it must meet 1.84 and carry a figure numeral on each sheet.

Confidential code

Your uploads stay private to your account and are not used to train models; still, paste an outline rather than proprietary source if you can.

Common mistakes

  • Pasting a screenshot of an IDE as a figure
  • Using function names as the only box text
  • Drawing every exception handler as its own branch

Questions people also ask

Can AI read my code and draft steps?

You can summarise the code into steps yourself or with any assistant; the flowchart tool then draws those steps. Check every step against the claims.

How detailed should the chart be?

Detailed enough to show each claimed step and how decisions branch; split very long charts into sub-figures.

Do I also need pseudocode?

Not required. Some applicants put short pseudocode in the description; that is a drafting choice.

Official sources

Related questions

More in Flowcharts and block diagrams

Draw this figure on a filing sheet

Upload a photo, sketch or CAD screenshot, or describe a method. You get black-and-white drawings with editable numerals on USPTO, EPO or PCT sheets. $19 for 40 drawings, one-time.

Open the drawing tool

Flowcharts & block diagramsThis page explains public rules and our tool. It is not legal advice; ask a registered patent attorney or agent about your application.