arrow
Return

NodeGit: Diffing and Merging Node Graphs

delete2023-12-05
delete1
PRE
AI
D
Davide Sforza
F
Fabio Pellacini
DOI:10.1145/3618343delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
The use of version control is pervasive in collaborative software projects. Version control systems are based on two primary operations: diffing two versions to compute the change between them and merging two versions edited concurrently. Recent works provide solutions to diff and merge graphics assets such as images, meshes and scenes. In this work, we present a practical algorithm to diff and merge procedural programs written as node graphs. To obtain more precise diffs, we version the graphs directly rather than their textual representations. Diffing graphs is equivalent to computing the graph edit distance, which is known to be computationally infeasible. Following prior work, we propose an approximate algorithm tailored to our problem domain. We validate the proposed algorithm by applying it both to manual edits and to a large set of randomized modifications of procedural shapes and materials. We compared our method with existing state-of-the-art algorithms, showing that our approach is the only one that reliably detects user edits.
Keywords:
Version control
Procedural node graphs

Journal

ACM Transactions on Graphics cover
ACM Transactions on Graphics
IF:
9.5
Papers:
4.7K
Citations:
3.6W

Organization

U
universita di modena e reggio emilia
Scholars:
1.6W
Papers: 1.2W
Citations: 12
S
sapienza university rome
Scholars:
6.3W
Papers: 4.7W
Citations: 381
Cited Papers

Cited Papers

Use of Biomarkers to Improve 28-Day Mortality Stratification in Patients with Sepsis and SOFA≤6
err
IF0
err2023-07-03
err0
errOAAI
errJaume Baldirà; Juan Carlos Ruiz-Rodríguez; Adolfo Ruiz-Sanmartin; Luis Chiscano; Alejandro Cortés; Diego Angeles-Sistac; Roser Ferrer-Costa; Imma Comas; Yolanda Villena; M.Nieves Larrosa; Juan José González-López; Ricard Ferrer
errShare
errSave
Improved local search for graph edit distance
err2020-01-01
err11
errOAAI
errBoria, Nicolas; Blumenthal, David B.; Bougleux, Sebastien; Brun, Luc
errShare
errSave
Monoamine activity correlates with psychometric deficits in Korsakoff's disease
err1985-05-01
err0
PREAI
errRobert G. Mair; William J. Mcentee; Robert J. Zatorre
errShare
errSave
MeshHisto: Collaborative Modeling by Sharing and Retargeting Editing Histories
err2015-11-02
err13
PREAI
errSalvati, Gabriele; Santoni, Christian; Tibaldo, Valentina; Pellacini, Fabio
errShare
errSave
3DFlow: Continuous Summarization of Mesh Editing Workflows
err2015-07-27
err10
PREAI
errDenning, Jonathan D.; Tibaldo, Valentina; Pellacini, Fabio
errShare
errSave
cSculpt: A System for Collaborative Sculpting
err2016-07-11
err11
errOAAI
errCalabrese, Claudio; Salvati, Gabriele; Tarini, Marco; Pellacini, Fabio
errShare
errSave
On the exact computation of the graph edit distance
err2020-06-01
err48
PREAI
errBlumenthal, David B.; Gamper, Johann
errShare
errSave
The Tumor Microenvironment in Classic Hodgkin’s Lymphoma in Responder and No-Responder Patients to First Line ABVD Therapy
err2023-05-17
err0
errOAAI
errRoberto Tamma; Giuseppe Ingravallo; Francesco Gaudio; Antonio d’Amati; Pierluigi Masciopinto; Emilio Bellitti; Loredana Lorusso; Tiziana Annese; Vincenzo Benagiano; Pellegrino Musto; Giorgina Specchia; Domenico Ribatti
errShare
errSave
researcher View more