Skip to content

Commit

Permalink
+ Added new sample project to easily get the graph window up and running
Browse files Browse the repository at this point in the history
  • Loading branch information
Doppelkeks committed Nov 1, 2023
1 parent 3c18e71 commit 0146c96
Show file tree
Hide file tree
Showing 21 changed files with 87 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,3 +238,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.4.1] - 2023-08-21
### Fixed
- Fixed GraphDisplayAttribute createGroup behavior

## [0.4.2] - 2023-11-01
### Added
- Added new sample project to easily get the graph window up and running
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.gentlymad.newgraph",
"version": "0.4.1",
"version": "0.4.2",
"displayName": "NewGraph",
"description": "A general data oriented node graph solution. This is build upon the idea to visualize complex data structures as graph networks without having to modify already established data classes, except adding [Node], [Port] and [SerializeReference] attributes to call classes that should show in the Graph View.",
"unity": "2022.2",
Expand Down
8 changes: 8 additions & 0 deletions ~Samples.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions ~Samples/MonoGraphModel.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions ~Samples/WindowInitializer.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions ~Samples/WindowInitializer/Editor.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions ~Samples/WindowInitializer/Editor/WindowInitializer.Editor.asmdef
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "WindowInitializer.Editor",
"rootNamespace": "",
"references": [
"GUID:7a19ff388de17fe459f8d1303f265e19",
"GUID:f5337683be0c9ed49824f4d1e7862f29"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions ~Samples/WindowInitializer/Editor/WindowInitializer.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using NewGraph;
using UnityEditor;

namespace WindowInitializer {
public class WindowInitializer {
/// <summary>
/// Here you can customize where the graph window menu should appear
/// </summary>
[MenuItem("Tools/" + nameof(GraphWindow))]
static void OpenWindow() {
// Here you can define what type of graph model you would like to use.
GraphWindow.InitializeWindowBase(typeof(ScriptableGraphModel));
}
}
}
11 changes: 11 additions & 0 deletions ~Samples/WindowInitializer/Editor/WindowInitializer.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0146c96

Please sign in to comment.