[BUG] crash when using `nx.diameter()`
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 468
- Avg merge
- 29m
- Merged PRs (30d)
- 1
Description
**Describe the bug**
The program crash when executing `nx.diameter()` with GraphScope (NetworkX worked well)
**To Reproduce**
I have used `nx.connected_components(G)` to make sure `C` is connected
```python
for C in (G.subgraph(c).copy() for c in nx.connected_components(G)):
print(nx.diameter(C))
```
did I miss some rules?
p.s. `nx.single_source_shortest_path_length()` worked well
**Screenshots**





**Environment (please complete the following information):**
- GraphScope version: 0.27.0
- OS: Linux
- Version: Red Hat 4.8.5-44
Contributor guide
Assessment
This issue has not been assessed yet.