UserFlows icon indicating copy to clipboard operation
UserFlows copied to clipboard

Sketch 48 - "Generate Flow Diagram" doesn't include every artboard

Open MattiaPompei opened this issue 7 years ago • 5 comments

I'm working on a file with 5 artboards, but the plugin generates a diagram with only 3 of them.

image 5 artboards file...

image ...only 3 screens diagram!

MattiaPompei avatar Feb 09 '18 13:02 MattiaPompei

@MattiaPompei the plugin exports a flow outwards from the Home artboard. So if 01a_ is your Home artboard, the two artboards that lead into it are ignored. I would add one more artboard (probably a conditional) before the first two artboards to explain why you have two entry points to your flow, and make that artboard the Home artboard.

abynim avatar Feb 14 '18 15:02 abynim

Thank you abynim. What do you mean with "Home artboard"? How does sketch/UserFlows recognize one particular artboard as "Home"? How does it not set the first two artboards as "Home"?

MattiaPompei avatar Feb 15 '18 09:02 MattiaPompei

In the Generate Flow window the artboard you select in the option for Start from: is set as the Home artboard when exporting the flow. The plugin expects all flows to start with a single artboard. In your case, there are two entry points to the flow so you can use a conditional artboard as the single entry point for the diagram that explains how the flow has two entry points. Like this example: example flow

abynim avatar Feb 15 '18 15:02 abynim

Ok, now I got It. I was missing that bit: "The plugin expects all flows to start with a single artboard".

MattiaPompei avatar Feb 15 '18 16:02 MattiaPompei

Thank you!

MattiaPompei avatar Feb 15 '18 16:02 MattiaPompei