File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/edu/uic/bitslab/callgraph Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ public void run() {
188188 exporter .setVertexAttributeProvider (
189189 (v ) -> {
190190 Map <String , Attribute > map = new LinkedHashMap <>();
191- map .put ("label" , DefaultAttribute .createAttribute (score .get (v ). toString ( ) + " - " + dotFormat (v .toString ())));
191+ map .put ("label" , DefaultAttribute .createAttribute (( Math . round ( score .get (v ) * 100 ) / 100.0d ) + " - " + dotFormat (v .toString ())));
192192 map .put ("style" , DefaultAttribute .createAttribute ("filled" ));
193193 map .put ("fillcolor" , DefaultAttribute .createAttribute (v .getColor ()));
194194 return map ;
@@ -204,7 +204,7 @@ public void run() {
204204 int pathNumber = pathSet .get (0 );
205205 map .put ("color" , DefaultAttribute .createAttribute (edgeStringColor [pathNumber ]));
206206
207- map .put ("penwidth" , DefaultAttribute .createAttribute (2 .0 ));
207+ map .put ("penwidth" , DefaultAttribute .createAttribute (3 .0 ));
208208
209209 String stringPathNumbers = pathSet .stream ().map (String ::valueOf ).collect (Collectors .joining ("/" ));
210210 map .put ("label" , DefaultAttribute .createAttribute ("P" + stringPathNumbers ));
You can’t perform that action at this time.
0 commit comments