KnowledgeOS API Reference
Preparing search index...
graph/src
Edge
Interface Edge
An Edge is a first-class, directed, typed relationship between two Nodes.
See
Document 7.2 §4
interface
Edge
{
id
:
string
;
labels
:
string
[]
;
metadata
:
Metadata
;
properties
:
Record
<
string
,
unknown
>
;
sourceId
:
string
;
targetId
:
string
;
type
:
string
;
}
Index
Properties
id
labels
metadata
properties
source
Id
target
Id
type
Properties
Readonly
id
id
:
string
Readonly
labels
labels
:
string
[]
Readonly
metadata
metadata
:
Metadata
Readonly
properties
properties
:
Record
<
string
,
unknown
>
Readonly
source
Id
sourceId
:
string
Readonly
target
Id
targetId
:
string
Readonly
type
type
:
string
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
id
labels
metadata
properties
source
Id
target
Id
type
KnowledgeOS API Reference
Loading...
An Edge is a first-class, directed, typed relationship between two Nodes.
See
Document 7.2 §4