我正在使用python中的igraph庫。我想知道是否有一種使用字串作為頂點索引的方法。我知道“name”屬性,我可以寫 g = igraph.Graph(directed=True) g.add_vertex('hello') ...
確定! 回上一頁