31
Views
0
Comments
[GraphViz Services] GraphViz colors to update
graphviz-services
Service icon
Forge asset by OutSystems
Application Type
Service

Hi,
I believe there is a bug in the action "Dot_DeclareNode" when it's set to Fill color. The FillColor if should be swapped:

I could add border colors by adding a BorderColor attribute to the structure "GraphViz_Node" and then the logic:

Being:
Assign Label Color: var dot = dot + " color=""" + Node.GraphViz_Node.Color + """"
Assign Label Border Color: var dot = dot + " color=""" + Node.GraphViz_Node.BorderColor + """"
Assign Label dot (the one for FillColor): var dot = dot + " fillcolor=""" + Node.GraphViz_Node.Fillcolor + """" + ", style=filled"

Is it possible to update the component?

Best regards,
Miguel Garcia

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.