Renders a tree in Cytoscape graph json format.
Renders a tree in Cytoscape graph json format.
The method returns the identical tree while writing the graph as an effect.
the base path of the file
the filename
a function returning the identity of the tree