Heracles.ts

@hydra-cg/heracles.ts > FlatteningGraphTransformer

Class: FlatteningGraphTransformer

Flattens a given graph.

Hierarchy

FlatteningGraphTransformer

Implements

Index

Methods


Methods

transform

transform(graph: object[], processor: IHypermediaProcessor, options?: IHypermediaProcessingOptions): Promise<object[]>

Implementation of IGraphTransformer.transform

Defined in JsonLd/GraphTransformations/FlatteningGraphTransformer.ts:10

Tranforms a given graph.

Parameters:

Name Type
graph object[]
processor IHypermediaProcessor
Optional options IHypermediaProcessingOptions

Returns: Promise<object[]>