fromJson

Deserializes a TreeLayoutResult from a JSON string previously produced by toJson.

Return

The deserialized TreeLayoutResult.

Parameters

json

The JSON string to parse.

keyToNode

Converts a string key back to the node instance.