How do I put a frame around the 'new' Miro Diagrams?
I am familiar with putting frames around objects in Miro, and have used them previously to frame a number of shapes into a diagram that I can then move around the board, copy, or drag into a larger frame. So that I can have a frame that contains a number of related diagrams, with a title.
I have been using the new ‘Miro Diagram’ feature to create a diagram in focus mode, and I can see the benefits. However, when I return to the ‘canvas’ I have a number of diagrams that are essentially each in their own frame, but it is this new ‘Miro Diagram’ container. I can drag them around my board, as before, and copy them but I am unable to put a frame around them to define a collection and put a title to it.
Page 1 / 1
Hi @Ian Helmschrott-Bowden, thanks for the detailed description — that’s really helpful.
Miro Diagrams are placed in their own special containers, and currently they can’t be directly enclosed in a standard frame like other objects.
To better understand your exact setup and see if there’s a workaround, could you please share a short screen recording of what steps you’re doing when trying to frame them? That way, I can try to replicate it on my end and explore if there’s a workaround that might work for your use case.
Looking forward to your reply!
@Ian Helmschrott-Bowden As Eca mentioned, diagrams cannot be directly enclosed in Frames.
But why is this?
Non-container objects (e.g., sticky notes, shapes, images, etc. – anything that can be enclosed and move with a frame) all have a parentId attribute behind the scenes. However, container objects (e.g., frames, diagram formats, Kanban, user story map, Grids) do not have a parent ID attribute.
What does that mean?
Let’s look at this example of a sticky note vs. a frame:
**UPDATE** In the above screenshot, I said that the Frame object has not parentId, but clearly from the screenshot it does! And, I found an old screenshot of the frame object attributes from over year ago and I also see the parentId. After more experimenting, I found that, if I have a Diagram container and draw a Frame around it, the Frame becomes a child of the Diagram – this is the first time I have seen it possible for a frame to be a child! I hope the next generation of frames (formats) will supported nested frames.
—
And when I drag the sticky note into a frame, the sticky note’s parentId is updated with the ID of the frame that the sticky note is now enclosed in/belongs to/is a child of.
From the above example, frame ID 3458764636219978364 is now the value in the sticky note’s parentId:
This is how Miro knows what objects are a part of the frame and should move with it (i.e., also move any objects where the parentId value is the same value as the frame that is being moved).
So why doesn’t this work with frames/diagrams?
These container formats do not have a parentId, so there is no way for Miro to know that the frames in frames, or diagrams in frames should also move – there is no relationship. To allow for nesting of containers in containers.
Similar to the above, here’s a screenshot showing that the Diagram form (like the frame object) does not have a parentId:
Workaround
You can group frames/diagrams together, however, you’ll likely run into other challenges.
Thanks Both,
Eca, I have tried both drawing a frame around a collection of diagrams and dragging diagrams into an existing frame.
I think that Robert’s answer best describes why this is not going to work. Although I see no logical reason why frames and diagrams cannot have a parentId, so I guess that this is a design choice by the makers of Miro.
Incidentally, although I can group frames together, so that I can move them together (and arrange them visually so that they look nested), it is not possible to group diagrams. So I cannot give a collection of diagrams a title that moves with them, around the board; which is really what I was trying to achieve.
@Ian Helmschrott-Bowden
it is not possible to group diagrams
I may have misread this, but I was able to select Slides and a Frame (by selecting their title) and then Group them so that the Slides move with the Frame:
@Robert Johnson
I don’t think that you have misread, but you may be assuming that Slides and Diagrams behave in the same way. I am using Diagrams and I am unable to replicate the behaviour in your last post; when I drag a Diagram into a Frame I lose the Title and Focus button elements.
Can you please replicate the video in you post using Diagrams, and not Slides?
Thanks,
@Ian Helmschrott-Bowden
when I drag a Diagram into a Frame I lose the Title and Focus button elements.
Ah, yes. All formats appear to be behave this way, i.e., they do not play nice with frames.
A few workarounds I have found are:
Zoom in and select the format (rather tedious as it requires precision):
Select everything (and filter by format, if need be):
Something else to watch out for is drawing a frame around a diagram, as it will bring the frame in front of all diagram elements: