howaajin / graphformatter

Graph nodes layout tool for Unreal Engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graph Formatter for Unreal Engine

Graph Formatter is an Unreal Engine plugin that can arrange graph nodes automatically.

Usage

Installing

Install From Source

Clone or download this repository to the "[root of your project]/Plugins/GraphFormatter" and restart Editor.
Note: git head version only support latest engine version. If you download the source code, you will need a compilation environment (Visual Studio on Windows). Here I provide the compiled Win64 version.

Install From Marketplace

https://www.unrealengine.com/marketplace/graph-formatter

Usage

Select nodes you want to arrange, or just deselect all nodes and press "Format Graph" button on the toolbar.
Configure it in "Editor Preferences/Plugins/Graph Formatter".

Regarding the PCG Graph, this plugin is now functional with keyboard shortcuts. However, due to the difference in how the PCG Graph extends the Toolbar compared to other Graph editors, it causes subsequent extensions to disappear.

Please note that this plugin uses template specialization to access private member pointers, so the compiled versions must match exactly. For example, a Debug version cannot connect to an engine version built for Development.

Enable it in more editors
Parameter grouping
Enable by default for all project
The useful Place Block command
You can find more details in the Wiki.

Useful Tips

  1. Comment-Based Grouping: This plugin employs comment nodes to form groups. Grouping complex nodes based on comments can lead to more effective outcomes.

  2. Managing Node Complexity: In situations where a node has an excessive number of incoming or outgoing connections, both manual and automatic arrangement might not result in a tidy structure. In such cases, it's advisable make the result as a variable and duplicate new nodes for each usage of this variable.

  3. Avoiding Lengthy Connections: Instead, consider utilizing variables or Reroute nodes within the material editor to maintain clarity and organization.

Technical Details

It is based on the ideas of Layered graph drawing.
References: Fast and Simple Horizontal Coordinate Assignment.
Size- and Port-Aware Horizontal Node Coordinate Assignment.

Purchase my other works to support me

(New)Bring back the system shadow to the Unreal Editor in Windows

Marketplace page

About

Graph nodes layout tool for Unreal Engine

License:MIT License


Languages

Language:C++ 97.1%Language:Python 1.8%Language:Batchfile 0.6%Language:C# 0.4%Language:C 0.2%