我想建立一个有向图和订阅边。 import os
import scipy as sc
import pylab
import networkx
import matplotlib.pyplot as plt
from networkx import *
from numpy import *
G=networkx.DiGraph()
R=[('S0','S1'),('S1','
节点计数我有一个关于论坛的帖子下列属性的MDB数据库: thread
author (posted in the thread)
children (a list of authors who replied to the post)
child_count (number of children in the list)
我试着去建立与以下节点的图: thread
author
c