Files
lan-manager/web/node_modules/@antv/graphlib/docs/modules/essence.md
openclaw 0a5f6a8047 Initial commit: Lan-manager project code
- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs

Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
2026-04-20 00:52:58 +08:00

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

essence/index.ts:57


isGraph

isGraph(obj): boolean

description Check if the object is a graph.

description.zh-cn 检查对象是否为图。

Parameters

Name Type
obj any

Returns

boolean

Defined in

essence/index.ts:13


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

essence/index.ts:49


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

Defined in

essence/index.ts:21