Is it possible to create a closed path in draw.io?

I would like to close a path to make an irregular shape that can then be given a fill colour? I can make a shape using a line and adding waypoints but I can't see how to join the endpoints.

1 Answer 1


You cannot interactively draw a closed shape. If you want to create a shape that responds to the application's fill command, you'll need to create your own shape using the built-in XML shape definition language.

  • Thanks @David! That's such a shame, as otherwise draw.io is brilliant. Creating shapes in XML is not very efficient. I wonder if you can add waypoints to shapes, that would enable a rectangle to be turned into any shape. I can't see this in the XSD. Is this a vain hope?
    – Ian
    Sep 10, 2016 at 5:54

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.