AboutPrivacyOpen the editor

About Neatfig

Neatfig is a PlantUML editor that checks your UML, tells you what's wrong in plain English and exports figures that fit in a report.

What it does

You write your diagram as PlantUML text, and Neatfig draws it next to the code as you type.

The part I care about most is that it reads your diagram as UML, not just as syntax. A diagram can be perfectly valid PlantUML and still be wrong UML. So Neatfig looks for the usual slips, like an include arrow pointing the wrong way, an actor with no links, a use case nobody can reach, or a realisation pointing away from its interface. Every warning tells you which line it is about and what is off in a sentence or two, and suggests a fix when there is one obvious answer.

When you're happy with it, export a PNG at 300 dpi or an SVG. The export dialog shows how big the figure will print and how small the text will be on A4, so you're not guessing. Everything uses one font, Liberation Sans, so it looks the same on every computer.

Who it is for

Students, mainly. I built it for people writing use case, class and component diagrams for a coursework report, usually not long before the deadline. If you keep your diagrams as text and want a second pair of eyes on them, it will work for you too.

Starter diagrams

Want to poke around? The Diagram menu in the editor has three examples:

  • Use case: course enrolment, with one mistake to find
  • Class: library loans, with inheritance, associations and an enum
  • Component: online shop, with components, interfaces and a database

Change them, break them, and see what the checks say.

What is checked, and what is not

Neatfig checks use case, class and component diagrams. Other PlantUML types, like sequence, activity, state and mind maps, still get drawn and exported, but they don't get any UML checks.

I tested the checks on diagrams I wrote to trigger each rule, and on a public set of diagrams made by learners. They will still miss things, so no warnings doesn't mean your diagram is right. A few checks are more about common convention than hard rules, and each explanation says which rule it used so you can make the call. Neatfig also doesn't know your brief or your marking scheme. I don't have accuracy figures to share yet.

Made by Thilina

I'm Thilina, and Neatfig is a one person project. You can find me at thilina.dev.

Feedback

Found a wrong warning, a missing check or a diagram that won't draw? Email me at rathnayaka3548@gmail.com. If you can paste your diagram text into the message, that helps a lot.

Credits

Diagrams are drawn by PlantUML (MIT licence, copyright Arnaud Roques), which runs right in your browser through the @plantuml/core package. Text in the figures is set in Liberation Sans 2.1.5 (SIL Open Font License 1.1, copyright Google Corporation and Red Hat, Inc.). Neatfig isn't part of the PlantUML project, and they haven't endorsed it.