Heracles.ts

@hydra-cg/heracles.ts > IGraphTransformer

Interface: IGraphTransformer

Describes an abstract graph transforming facility.

interface:

Hierarchy

IGraphTransformer

Implemented by

Index

Methods


Methods

transform

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[]>