This page is documentation for a DEVELOPMENT / PRE-RELEASE version.
Switch to stable version
安装
教程
参考文献
释放
开发商
绘图示例
Guides
Home Page
GitHub
v2.8
devel (latest)
current (stable)
介绍
图形类型
算法
功能
图形生成器
线性代数
转换为其他数据格式或从其他数据格式转换
重新标记节点
读写图表
绘图
随机性
例外情况
公用事业
arbitrary_element
is_string_like
变平
可迭代的
make_list_of_ints
make_str
generate_unique_node
default_opener
两两配对
群组
create_random_state
nodes_equal
edges_equal
graphs_equal
UnionFind.union
powerlaw_sequence
cumulative_distribution
discrete_sequence
zipf_rv
random_weighted_sample
weighted_choice
open_file
not_implemented_for
nodes_or_number
np_random_state
py_random_state
networkx.utils.decorators.argmap
cuthill_mckee_ordering
reverse_cuthill_mckee_ordering
术语表
nodes_equal
#
nodes_equal
(
nodes1
,
nodes2
)
[源代码]
#
检查节点是否相等。
在这里,等价性意味着等同于Python对象。如果包含节点数据,则必须匹配。节点的顺序并不相关。
参数
nodes1, nodes2
节点的迭代数,或(节点,数据二进制)元组
返回
布尔尔
如果节点相等,则为True,否则为False。