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

Added a Save Layout button on the Layouts pane #411

Merged
merged 2 commits into from
Apr 30, 2019

Conversation

lohani2280
Copy link
Contributor

@lohani2280 lohani2280 commented Jan 10, 2019

Purpose

Adding a "Save Layout" button on the Layouts pane

Fixes #392

In the gif below, I have tried to demonstrate the above solution
best

Approach

On pressing the "Save Layout" button, a dialogue box asking to save the layout pops up and the user can now directly save the layout generated without entering the Layout Editor and immediately exiting out.

Open Questions and Pre-Merge TODOs

  • Use github checklists. When solved, check the box and explain the answer.

@lohani2280 lohani2280 changed the base branch from master to develop January 10, 2019 14:24
@lohani2280
Copy link
Contributor Author

Ping @adbharadwaj @jlaw9

@jlaw9
Copy link
Collaborator

jlaw9 commented Jan 23, 2019

Looks great to me.

Can you change the title of the layout pop-up to "Save Positions and Style" and add the description "Save the current x- and y-coordinates of every node and the style attributes of every node and edge." to the pop-up? This is from #271

@lohani2280
Copy link
Contributor Author

@jlaw9 Thanks for the review. I'll update my PR soon.

@lohani2280
Copy link
Contributor Author

lohani2280 commented Jan 25, 2019

@jlaw9 Updated the PR as suggested. I have also attached the screenshot of the layout pop-up. Please have a look.

screenshot from 2019-01-26 00-07-46

@jlaw9
Copy link
Collaborator

jlaw9 commented Jan 25, 2019

Thanks looks good. Ideally this button would be able to save just the x- and y-coordinates as that's all you can change in this mode, but I think that can wait for a different issue.

@lohani2280
Copy link
Contributor Author

Exactly. Even I was thinking that in this mode one can only save the x-and y-coordinates and not the styles.

@adbharadwaj adbharadwaj merged commit 787fb21 into Murali-group:develop Apr 30, 2019
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

Successfully merging this pull request may close these issues.

5 participants