GP-2308 - Function Call Graph - Added an option to disable name

truncation.
This commit is contained in:
dragonmacher 2025-04-05 12:37:45 -04:00
parent 8441563165
commit 8785636939
4 changed files with 82 additions and 20 deletions

View file

@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -240,7 +240,9 @@ public class FcgProvider
setLayout(graph);
FcgLevel source = FcgLevel.sourceLevel();
FcgVertex sourceVertex = new FcgVertex(graphData.getFunction(), source, expansionListener);
FcgOptions options = plugin.getOptions();
FcgVertex sourceVertex =
new FcgVertex(graphData.getFunction(), source, expansionListener, options);
graph.setSource(sourceVertex);
trackFunctionEdges(sourceVertex);
@ -264,7 +266,8 @@ public class FcgProvider
return v;
}
v = new FcgVertex(f, level, expansionListener);
FcgOptions options = plugin.getOptions();
v = new FcgVertex(f, level, expansionListener, options);
trackFunctionEdges(v);
return v;
}