Skip to content

Commit

Permalink
[Update] Display the full reaction name above CyJson edges
Browse files Browse the repository at this point in the history
Major:
- Was using the short and cryptic name
- Now shows a full human-friendly name
  • Loading branch information
Jacopin Eliott committed Feb 10, 2024
1 parent 815706c commit e3cd044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/Modules/Graphs/CyJsonEdgeGO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ public void Initialize(CyJsonModule _rootCyJsonGraphGO, CyJsonEdge _edge)
SetEdgeData(_edge);
gameObject.SetActive(true);
gameObject.name = $"{edgeData.ID}";
SetName(edgeData.name);
SetName(edgeData.reactionName);
HideName();
SetDefaultWidth(1 / refRootCyJsonGraphGO.graphScalingData.sizeScaleFactor,
1 / refRootCyJsonGraphGO.graphScalingData.sizeScaleFactor);
Expand Down

0 comments on commit e3cd044

Please sign in to comment.