Module Expr Str Import alias Import alias identifier ImportFrom alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Num Num For NameStore NameLoad body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str Str Print Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str Print Str Expr Call AttributeLoad NameLoad attr keyword Num
N/A N/A Example of writing JSON format graph data and using the D3 Javascript library to produce an HTML/Javascript drawing.
 N/A json N/A networkx nx networkx.readwrite json_graph N/A flask N/A G N/A N/A nx barbell_graph 6 3 N/A n G N/A N/A N/A N/A N/A G node N/A n N/A name n N/A d N/A N/A json_graph node_link_data G N/A N/A N/A json dump d N/A open force/force.json w N/A Wrote node-link JSON data to force/force.json N/A app N/A N/A flask Flask __name__ static_folder force static_proxy N/A N/A path N/A N/A N/A N/A N/A app send_static_file path N/A N/A N/A app route /<path:path> N/A 
Go to http://localhost:8000/force.html to see the example
 N/A N/A N/A app run port 8000