Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MattiaPompei opened this issue Feb 9, 2018 · 5 comments
Open

Comments

@MattiaPompei
Copy link

MattiaPompei commented Feb 9, 2018

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!

@abynim
Copy link
Owner

abynim commented Feb 14, 2018

@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.

@MattiaPompei
Copy link
Author

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"?

@abynim
Copy link
Owner

abynim commented Feb 15, 2018

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

@MattiaPompei
Copy link
Author

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

@MattiaPompei
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants