跳到主要内容
返回顶部
Ctrl
+
K
安装
教程
后端
参考
画廊
开发者
版本发布
更多
指南
主页
GitHub
安装
教程
后端
参考
画廊
开发者
版本发布
指南
主页
GitHub
章节导航
引言
图类型
算法
函数
degree
degree_histogram
density
create_empty_copy
is_directed
to_directed
to_undirected
is_empty
add_star
add_path
add_cycle
subgraph
induced_subgraph
restricted_view
edge_subgraph
nodes
number_of_nodes
neighbors
all_neighbors
non_neighbors
common_neighbors
edges
number_of_edges
density
non_edges
selfloop_edges
number_of_selfloops
nodes_with_selfloops
is_weighted
is_negatively_weighted
set_node_attributes
get_node_attributes
set_edge_attributes
get_edge_attributes
is_path
path_weight
freeze
is_frozen
图生成器
线性代数
与其他数据格式相互转换
重新标记节点
图的读取和写入
绘图
随机性
异常
工具函数
后端
配置
术语表
参考
函数
number_of_edges
number_of_edges
#
number_of_edges
(
G
)
[source]
#
返回图中边的数量。
此函数封装了
G.number_of_edges
函数。
在此页面上
number_of_edges()