I am using draw.io to make diagrams related to genetics. It is convention in my field to italicize gene names.

I would like to have a box that says "genename::cDNA" where "genename" is italic and "cDNA" is not. Is this possible?

3 Answers 3


A bit late now, and maybe obvious, but draw.io now supports the "Formatted Text" Text option which allows you to apply bold, italics, etc to any text block or sub-regions of it.


It's possible, we need to make it more accessible, though.

Open up the UML library on the right and drop in, say, the interface object. Double click to edit, remove the content, then add yours.

This object is actual HTML, so you can apply formatting to individual parts. The standard label doesn't have this functionality. We might consider defaulting all labels to HTML.


Both methods work:

  • remove text and paste the formatted one (formatted using another tool): OR
  • set the checkbox "Formatter Text" on the format panel → tab "text"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.