I am trying to do something similar
and am using overleaf.com for it. However when I open this code in overleaf, I get an error at compilation step
"Package tikz Error: I did not find the tikz library 'positioning -plus'. I looked for files named tikzlibrarypositioning-plus.code.tex and pgfli brarypositioning-plus.code.tex, but neither could be found in the current texmf trees.."
I am getting similar error for "node-families" as well.
I understand that an obvious solution would be to install something like texmaker on my machine and download this. However I want to continue with the online editor. So can someone suggest a way around this issue