"An error occurred while resolving package"When import Graphtools foundation

I follow the documents, but get an error:

An error occurred while resolving packages:
  Project has invalid dependencies:
    com.unity.graphtools.foundation: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.graphtools.foundation' was denied

A re-import of the project may be required to fix the issue or a manual modification of F:/UnityProjects/GraphToolsFoundation-source/Packages/manifest.json file.

How to fixed that?
Unity Version 2021.3.29f1c1

GraphTools package is in experimental stage, has not been updated in over 2 years. I cannot install it in 2023.1 either. It’s likely in a broken state.

If I remember correctly, GraphTools is said to be only maintained internally for the time being, while Shader Graph, VFX Graph, Visual Scripting and possibly other graph tools are supposed to merge their code so it’s entirely based on GraphTools Foundation.

Yes, you are right. With a lot of internal modules such as Shader Graph/VFX etc gonna be replaced by GTF, Unity should give it more attention and help developers to learn it.

But now, I could not install packages at all, It makes no sense!:hushed::hushed:And I don’t want to use GraphView at all.

If there any chance that I can build Graph Editor Tools from scratch with UI Toolkit?:eyes:

100000001218704--1121384--clear.png

Doubtful. You could have all the node boxes and that stuff but there’s no line rendering in UI Toolkit. Perhaps some ingenious way might make it possible, eg if you restrict lines to right angles and use some other elements to draw the vertical/horizontal line parts. Not sure how GraphView integrates with other UI Elements, that’s still the best starting point.

Anyway, were you asking recently about graph tools? If not: There’s xNode (IMGUI) and NodeGraphProcessor (UIElements, uses experimental GraphView class) on Github.

I’m trying to find a stable api or base tools that I can follow to start to build my own graph editor. But want I have see is a mess. There all make shortcomings, can’t find a workflow for me.:rage:

Now, I’m trying to build just use GraphView api, however, this is the only way to build graph editor rightnow(with high UI rendering perfermence and modern UI):).

I’ve given that some thought a while back and came to the same conclusion. I could work with NGP just okay but it was overloading me mentally with weird control flow and architecture.

GraphView is still the best option, and engineered so you wrap it into your own “MyGraphView” module with wrapper classes. That way, when GraphView does get replaced or overhauled it isn’t entangled within the entire codebase and thus easier to adapt.