MCPcopy Create free account
hub / github.com/cpichard/usdtweak / AutoLayout

Function AutoLayout

src/widgets/ConnectionEditor.cpp:1020–1230  ·  view source on GitHub ↗

Sugiyama layered graph auto-layout with connected-component splitting and per-type subgraph layout within each component. 1. Find connected components (Union-Find, undirected). 2. Within each component: group nodes by USD prim type name. Run Sugiyama on each type group using only intra-group edges (avoids cross-type cycles, e.g. Material ↔ Shader). Stack type groups vertically, centred on the com

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

DrawConnectionEditorFunction · 0.85

Calls 9

ImVec2Function · 0.85
popMethod · 0.80
sizeMethod · 0.45
reserveMethod · 0.45
endMethod · 0.45
beginMethod · 0.45
push_backMethod · 0.45
emptyMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected