Skip to content

Remove built-in plugins from plugin package #1752

@flowchartsman

Description

@flowchartsman

I am in the very early stages of building my own layout plugin for d2 and everything works mostly well, however I am forced to use build tags in order to exclude the built-in plugins. This is due to their built tags being negative instead of positive. It would probably be better to have the built-in plugins in a separate package, but changing the build tag system from //go:build !nodagre to //go:build bundledagre and then including these in your release scripting would also work. Willing to submit a PR, if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions