Giter Site home page Giter Site logo

graph-visualizer's Introduction

PlayableGraph Visualizer

The PlayableGraph Visualizer is a tool that displays the PlayableGraphs in the scene. It can be used in both Play and Edit mode and will always reflect the current state of the graph. Playable nodes are represented by colored nodes, varying according to their type. Connections color intensity indicates its weight.

See the Documentation for the installation and the usage.

graph-visualizer's People

Contributors

amirebrahimi avatar borealux avatar mightycreak avatar romainf-unity avatar senkal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

graph-visualizer's Issues

Does not work well with many input ports

I have a single PlayableGraph containing many root level inputs. This is what the UI ends up looking like:

image

I cannot click on any of the states to see their information, scroll, zoom or do anything.

5.6b3 issues

Hi !
The code is not compiling on 5.6b3, mostly because
using UnityEngine.Timeline;
using UnityEngine.Playables;

can't be found.

Any workarounds / updates ?

Thanks !

Not compiling code in 2018.1.3f1

After adding the Grapth Visualizer form master branch, the project didn't compile because of the following error: "Type UnityEngine.Playables.PlayableOutput' does not contain a definition for GetSourceOutputPort' and no extension method GetSourceOutputPort' of type UnityEngine.Playables.PlayableOutput' could be found. Are you missing an assembly reference?"

I have renamed it to "GetSourceInputPort()" instead after finding this change in a GitHub repo: https://github.com/Unity-Technologies/UnityCsReference/blob/master/Runtime/Export/Director/PlayableOutputExtensions.deprecated.cs

`PlayableNode.GetContentType()' is marked as an override but no suitable method found to override

Hello. I downloaded the 2017.1.2 and imported the package into my project. I than received the following error.

Assets/graph-visualizer-2017.1-2/Assets/GraphVisualizer/Editor/PlayableGraphVisualizer.cs(47,26): error CS0115: `PlayableNode.GetContentType()' is marked as an override but no suitable method found to override.

Not sure if this is my mistake though and I haven't seen a workaround yet?

playablegraph-visualizer.md Install instructions not install instructions

Hi I have been trying to figure out how to install this package, but the documentation just links to the general package manager documentation for unity, not documentation on how to install this(as there is no playable visualizer package showing up). I don't know what should be linked there instead.

Create a namespace for the GraphVisualizer types

The type created in the GraphVisualizer have too common name (e.g. Node) and it is in the global namespace which could lead to conflicts (see #6).

A namespace for the GraphVisualizer module should be created to encapsulate and prevent conflicts with other types.

Can't see the override tracks

Hello,
I'm trying to access the override track and couldn't find any documentation on how to get it by name, so I'm trying to visualize to at least try to navigate to it, sadly visualizer doesn't show it:

image

image

Feature request. Add some names to the graph nodes

Thanks for this very handy tool.

It would be much more useful if the nodes had names.

Ideally Playables could have a GetName method.

Failing that, for many node types it should be possible to grab a reasonable name. For example, if the node is AnimationClipPlayable, then the name could be the name of the clip. For an AnimationControllerPlayable it could be the name of the Animation Controller asset.

Rewrite to use UnityEditor.Graphs

I'm interested in re-writing this with Unity's graph API that is used by Fungus that's used by the animation controller UI, as well as some other third party . The UI of this is really really bad, so I want to improve it. I don't understand how it managed to look different than the graph that the animation states use because that seems like it just uses UnityEditor.Graphs... I'm not sure why the original author mistakenly implemented his own rendering.

  • No zooming
  • In a real project, the top left dropdown has 1000s of items
  • No search for selecting playable
  • Doesn't seem to be able to find playables in certain cases

What do you think?

Cannot navigate Graph View

Am I missing something, or is this just not implemented? For normal timelines, they become unreadably small very quickly:

image

Also, it seems that a Timeline is shown multiple times, as can be seen in this simpler example:

20180424_100504-unity 2018 2 0b1 personal 64bit - interactiontests unity - geometryengine - pc

I think the five "outputs" on the left correspond to having multiple tracks, but shouldn't they all emerge from the same "timeline node"?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.