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

Several N2 appearance changes #1441

Merged
merged 12 commits into from
Jun 8, 2020
Merged

Conversation

tadkollar
Copy link
Member

Summary

There are several N2 updates:

  • The issue with the weird variable name highlighting is addressed by drawing a vertical line next to the variable name with the same color as the node, similar to the method used in Excel.

  • The info panel is now pinnable. When using info-panel mode and a node is left-clicked, the panel is pinned and won't change when the mouse moves off the node. To unpin the panel, either left-click on another node, click the pushpin on the panel, or exit info-panel mode.

  • Connection nodes in the matrix are now represented by a gray, curved arrow instead of a black square. The arrow makes it obvious that the connections and variables are different entities, and the gray color doesn't contrast as harshly with the rest of the diagram colors.

  • Connection arrows now curve through the connection nodes instead of forming a right angle with a dot at the vertex.

  • Resolves Coloring and highlighting of items in the N2 hierarchy can be confusing  #1362

  • Resolves N2 info panel should be pinnable #1410

n2_new_matrix

n2_info_panel

Backwards incompatibilities

None

New Dependencies

None

@project-bot project-bot bot added this to In progress in OpenMDAO Dev [Read only] May 28, 2020
@tadkollar tadkollar requested a review from hschilling May 28, 2020 18:43
@project-bot project-bot bot moved this from In progress to Under review in OpenMDAO Dev [Read only] May 28, 2020
@tadkollar tadkollar added this to In progress in N2 Issues via automation May 28, 2020
@tadkollar tadkollar moved this from In progress to Pull requested in N2 Issues May 28, 2020
OpenMDAO Dev [Read only] automation moved this from Under review to Reviewer approved May 28, 2020
@robfalck robfalck self-requested a review June 8, 2020 14:30
@project-bot project-bot bot moved this from Reviewer approved to Under review in OpenMDAO Dev [Read only] Jun 8, 2020
Copy link
Contributor

@robfalck robfalck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change the gray connection shape back to squares. We'll deal with teaching new users the directionality of connections through documentation.

@tadkollar
Copy link
Member Author

image

OpenMDAO Dev [Read only] automation moved this from Under review to Reviewer approved Jun 8, 2020
@swryan swryan merged commit 35654b7 into OpenMDAO:master Jun 8, 2020
OpenMDAO Dev [Read only] automation moved this from Reviewer approved to Done Jun 8, 2020
N2 Issues automation moved this from Pull requested to Done Jun 8, 2020
@tadkollar tadkollar deleted the n2hover1362_1410 branch June 8, 2020 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

N2 info panel should be pinnable Coloring and highlighting of items in the N2 hierarchy can be confusing
4 participants