Anders and Briegel in Python
25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- from demograph import demograph
-
- #TODO
-
- def _test_nx_convert():
- g = demograph()
- n = g.to_networkx()
- assert len(g.ngbh) == len(n.edge)
- assert len(g.vops) == len(n.node)
-
- def _test_layout():
- g = demograph()
- g.layout()
- assert len(g.meta) == len(g.vops)
- assert "pos" in g.meta[0]
- assert "x" in g.meta[0]["pos"]
|