Skip to content

There are some errors in the document #46

Description

@330GRX

As shown in the figure
Image
https://sprotty.org/docs/concepts/extension-points/#creating-custom-model-elements

I think the correct code is

import { SEdgeImpl, SNodeImpl } from "sprotty";

export class CustomNode extends SNodeImpl {
}

export class CustomEdge extends SEdgeImpl {
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions