-
Notifications
You must be signed in to change notification settings - Fork 667
Group improvements to the graph view #11912
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
Merged
QilongTang
merged 32 commits into
DynamoDS:DynamoNodeRedesign
from
SHKnudsen:Group-Improvements-to-the-Graph-View
Aug 27, 2021
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
ae71ae0
initial commit
SHKnudsen 53b4265
wip
SHKnudsen 46ef28c
clean up
SHKnudsen 49daddb
remove leftovers
SHKnudsen 4695b67
UndoRedo behaviour + grouped groups cut out + general fixes
SHKnudsen 5d4bde1
update images
SHKnudsen 7068c7a
fix CopyPaste + few minor bugs
SHKnudsen 3b66ffb
minor clean ups
SHKnudsen 8dbe17d
Group improvements unit tests (#29)
SHKnudsen 76d88c0
initial commit
SHKnudsen 9b07a60
wip
SHKnudsen 4c86c27
clean up
SHKnudsen f97586a
remove leftovers
SHKnudsen a55f433
UndoRedo behaviour + grouped groups cut out + general fixes
SHKnudsen 4d1747a
update images
SHKnudsen fb74a8f
fix CopyPaste + few minor bugs
SHKnudsen 4af8e04
minor clean ups
SHKnudsen 350bb11
Merge branch 'Group-Improvements-to-the-Graph-View' of https://github…
SHKnudsen e269a4c
Update SerializationTests.cs
SHKnudsen 05d0d38
Update SerializationTests.cs
SHKnudsen fd260de
comment updates
SHKnudsen 3bdb1d1
comment updates
SHKnudsen 60fcb98
fix GetOutputPorts errors
SHKnudsen 6397472
fix serialization
SHKnudsen ecb21ae
Update WorkspaceModel.cs
SHKnudsen d9f980a
remove grid style (not needed anymore)
SHKnudsen 244973a
Remove BelongsToGroup property from ModelBase
SHKnudsen f8b817d
Update AnnotationViewModel.cs
SHKnudsen fd5f3d6
fix setting the graph to have unsaved changes on graph open
SHKnudsen 753f7b3
disable drag and drop on collapsed groups
SHKnudsen 17dac94
fix spelling mistake
SHKnudsen 9b8c7fe
Merge branch 'DynamoNodeRedesign' into Group-Improvements-to-the-Grap…
SHKnudsen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/DynamoCore/Graph/Annotations/AnnotationModelExtensions.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| using System; | ||
| using System.Collections.Generic; | ||
| using System.Linq; | ||
| using System.Text; | ||
| using System.Threading.Tasks; | ||
|
|
||
| namespace Dynamo.Graph.Annotations | ||
| { | ||
| internal static class AnnotationModelExtensions | ||
| { | ||
| /// <summary> | ||
| /// Checks if any of the provided groups contains the provided | ||
| /// ModelBase. | ||
| /// </summary> | ||
| /// <param name="groups"></param> | ||
| /// <param name="modelBase"></param> | ||
| /// <returns></returns> | ||
| internal static bool ContainsModel(this IEnumerable<AnnotationModel> groups, ModelBase modelBase) | ||
| { | ||
| return groups.Any(g => g.ContainsModel(modelBase)); | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.