Search Unity

Any simple examples of using Graph VIew?

Discussion in 'UI Toolkit' started by Brightori, Apr 2, 2020.

  1. Brightori

    Brightori

    Joined:
    Sep 15, 2017
    Posts:
    64
    looking it for developing a node editor
     
  2. uDamian

    uDamian

    Unity Technologies

    Joined:
    Dec 11, 2017
    Posts:
    1,231
    To confirm, GraphView is an internal API and not officially supported. It may be removed or changed in the future.

    With that said, here's a zip of an old GraphView example project. It's very likely not going to compile in a modern version of Unity but looking at the code may help you figure out how it works. The API itself didn't change all that much since this project was made.

    Otherwise, looking at the code for ShaderGraph or Visual Effects Graph would also help if you want to see the API used in a more recent Unity version.
     

    Attached Files:

    Brightori likes this.
  3. Brightori

    Brightori

    Joined:
    Sep 15, 2017
    Posts:
    64
    thx, i will have a look