- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs
Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
2.1 KiB
2.1 KiB
@antv/graphlib / Exports / essence
Namespace: essence
file To get graph essencial information.
file.zh-cn 获取图的基本信息
Table of contents
Functions
Functions
hasSelfLoop
▸ hasSelfLoop(graph): boolean
description Check if the graph contains Self loops.
description.zh-cn 检查图是否包含自环。
Parameters
| Name | Type |
|---|---|
graph |
Graph<string, Record<string, any>, Record<string, any>, string> |
Returns
boolean
Defined in
isGraph
▸ isGraph(obj): boolean
description Check if the object is a graph.
description.zh-cn 检查对象是否为图。
Parameters
| Name | Type |
|---|---|
obj |
any |
Returns
boolean
Defined in
isNullGraph
▸ isNullGraph(graph): boolean
description Check if the graph is a null graph.
description.zh-cn 检查图是否为空图。
Parameters
| Name | Type |
|---|---|
graph |
Graph<string, Record<string, any>, Record<string, any>, string> |
Returns
boolean
Defined in
isSimpleGraph
▸ isSimpleGraph(graph): boolean
description Check if the graph is a simple graph.
description.zh-cn 检查图是否为简单图。
Parameters
| Name | Type |
|---|---|
graph |
Graph<any, any, any, any> |
Returns
boolean