jgraph / drawio-desktop

Official electron build of draw.io
https://www.diagrams.net
Apache License 2.0
50.78k stars 5.02k forks source link

It is not possible to use <include-shape> #1806

Closed aleksandarsusnjar closed 4 months ago

aleksandarsusnjar commented 4 months ago

Discussed in https://github.com/jgraph/drawio-desktop/discussions/1439 and https://github.com/jgraph/drawio/discussions/4517

<include-shape> has a passing mention in documentation and can be found in code. However, there are no examples to be found anywhere, either as documentation or as a part of some exiting shape/stencil library. There isn't a reference/list of usable shape names. There isn't even an error stating that whatever is referenced is invalid, it simply doesn't show up.

Originally posted by **LubaaBalakhashvili** August 21, 2023 I want to create shapes with same base and if I change that base, new shapes to be changed too. In documentation I read about but I can't understand how to use this and can't find anything else about it. How can I use this sub-shapes? Link of documentation: https://www.drawio.com/doc/faq/shape-complex-create-edit ![image](https://github.com/jgraph/drawio-desktop/assets/102235002/0d24b85f-ae66-426e-936c-fe0d09c66b6a)
davidjgraph commented 4 months ago

This isn't a bug report or a feature request, it should be a discussion.