jgraph / jgraph/drawio

Allow to replace a shape with a grouped shape from the draw.io scratchpad or a custom library

Open
#3,687 1 comment 2 reactions 1 assignee View on GitHub

@m-mohamedin is already working on this.

Since Jul 30, 2026.

confluence cloud
Dominant language
JavaScript
Stars
8.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
I added a custom shape to my scratchpad, consting of several grouped shapes. I like to be able to replace shapes on the canvas with the custom shape (if possible). I guess that can be tricky, due to the fact that we are talking about a set of shapes instead of one shape (where the connection points are clearly defined). I also tried to do the same with a custom library, this didn't work out as well.

Describe the solution you'd like
Being able to replace existing shapes with a grouped subset of shapes.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.