From 33959a4cc340d04ef511a27d071db7af272aa222 Mon Sep 17 00:00:00 2001 From: "Jurgen J. Vinju" Date: Thu, 14 Mar 2024 11:43:21 +0100 Subject: [PATCH] fixed some warnings --- src/org/rascalmpl/library/vis/Graphs.rsc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/org/rascalmpl/library/vis/Graphs.rsc b/src/org/rascalmpl/library/vis/Graphs.rsc index f1256217f35..b24a4d3ce8b 100644 --- a/src/org/rascalmpl/library/vis/Graphs.rsc +++ b/src/org/rascalmpl/library/vis/Graphs.rsc @@ -263,7 +263,7 @@ CytoStyle defaultEdgeStyle() \line-color = "black", \target-arrow-color = "black", \source-arrow-color = "black", - \target-arrow-shape = triangle(), + \target-arrow-shape = CytoArrowHeadStyle::triangle(), \source-arrow-shape = CytoArrowHeadStyle::none(), \curve-style = bezier(), \label = "data(label)" @@ -288,9 +288,9 @@ data CytoStyle CytoFontWeight \font-weight = normal(), str \background-color = "blue", str label = "data(label)", - CytoNodeShape shape = circle(), - CytoHorizontalAlign \text-halign = center(), - CytoVerticalAlign \text-valign = \top(), + CytoNodeShape shape = CytoNodeShape::ellipse(), + CytoHorizontalAlign \text-halign = CytoHorizontalAlign::center(), + CytoVerticalAlign \text-valign = CytoVerticalAlign::\top(), CytoTextWrap \text-wrap = CytoTextWrap::none(), str \text-max-width = "100px", CytoHorizontalAlign \text-justification = CytoHorizontalAlign::center(), @@ -302,9 +302,9 @@ data CytoStyle str color = "red", str \target-arrow-color = "black", str \source-arrow-color = "black", - CytoArrowHeadStyle \target-arrow-shape = triangle(), - CytoArrowHeadStyle \source-arrow-shape = none(), - CytoCurveStyle \curve-style = bezier(), + CytoArrowHeadStyle \target-arrow-shape = CytoArrowHeadStyle::triangle(), + CytoArrowHeadStyle \source-arrow-shape = CytoArrowHeadStyle::none(), + CytoCurveStyle \curve-style = CytoCurveStyle::bezier(), int \source-text-offset = 1, int \target-text-offset = 1, str label = "data(label)"