@hydra-cg/heracles.ts > IGraphTransformer
Describes an abstract graph transforming facility.
interface:
IGraphTransformer
▸ transform(graph: object
[], processor: IHypermediaProcessor, options?: IHypermediaProcessingOptions): Promise
<object
[]>
Defined in JsonLd/GraphTransformations/IGraphTransformer.ts:16
Tranforms a given graph.
Parameters:
Name | Type | Description |
---|---|---|
graph | object [] |
Graph to be transformed. |
processor | IHypermediaProcessor | Hypermedia processor requesting a graph transformation. |
Optional options |
IHypermediaProcessingOptions | Additional processing options. |
Returns: Promise
<object
[]>