v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
@langchain/community
graphs/document
GraphDocument
Class GraphDocument
Hierarchy (
view full
)
Serializable
GraphDocument
Index
Constructors
constructor
Properties
nodes
relationships
source
Methods
toJSON
toJSONNot
Implemented
Constructors
constructor
new
Graph
Document
(
__namedParameters
)
:
GraphDocument
Parameters
__namedParameters
:
{
nodes
:
Node
[]
;
relationships
:
Relationship
[]
;
source
:
Document
<
Record
<
string
,
any
>
>
;
}
nodes
:
Node
[]
relationships
:
Relationship
[]
source
:
Document
<
Record
<
string
,
any
>
>
Returns
GraphDocument
Properties
nodes
nodes
:
Node
[]
relationships
relationships
:
Relationship
[]
source
source
:
Document
<
Record
<
string
,
any
>
>
Methods
toJSON
toJSON
(
)
:
Serialized
Returns
Serialized
toJSONNot
Implemented
toJSONNot
Implemented
(
)
:
SerializedNotImplemented
Returns
SerializedNotImplemented
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
nodes
relationships
source
Methods
toJSON
toJSONNot
Implemented
LangChain.js
Loading...