NetworkX made breaking API changes in the jump to 2.0, that required other libraries such as Bokeh to update and accommodate. The necessary updates should have been implemented in
Which was merged as part of Bokeh 0.12.10. So the first suggestion is to make sure your Bokeh version is up to date. If you still see problems with Bokeh 0.12.10 then please file a bug report on GitHub.
It works with networkx 1.11 but when I upgrade the networkX to 2.0 , It didn't work.
Could I use the custom layout function for from_networkx renderer layout argument or It should be nx.layout?