Skip to content

JS - Issue with Config on Recent Release - "d2lang error cannot read properties of undefined (reading 'exports')" #2600

Description

@MichaelCropper

https://alixander-d2js.web.val.run/

a
a -> b


vars: { 
  d2-config: {
    # layout-engine: elk # Doesn't work
    layout-engine: dagre # Works
  } 
} 

Something has gone a bit haywire in the last day or two.

From the testing I've been doing, seems to be specific to elk layout engine, dagre works fine.

cc. @alixander

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