Skip to content

Palette does not support getNodeDefaults #30

@endeffects

Description

@endeffects

I'm trying to create new nodes from palette, but all i get is a clone of the existing node in the palette. So i was looking into your docu and for other frameworks this is done by using getNodeDefaults and getConnectorDefaults. But this seems not to be fully supported in the current version.

Also i got an issue that when i try to add such a clone to my diagram that it does not deselect itself after dropping it. I'm not able to do anything in this state. The console shows the following error:

treemap.ts:2 Error: attribute width: A negative value is not valid. ("-1.7976931348623157e+308")

image

image

Btw: The node is an inherited DiagramNode Instance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    diagramDiagram componentenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions