One situation I'm facing involves adding nodes to a root node depending on the response received from a REST service call.
I want to set the color of the object's fill based on the "type" attribute of the nodes, which I'm setting from the REST payload.
For instance, there is a root record with 4 address records and 3 subsidiary records.
I want to assign the address records a green color and the subsidiary records a blue color, but I'm unsure how to do this based on a condition.