Skip to content

Missing css-variables of graph-block-anchor for width and height #329

Description

@ma-efremoff

Current behavior:

.graph-block-anchor {
    --width: var(--graph-block-anchor-width, 16px);
    --height: var(--graph-block-anchor-height, 16px);
    width: 16px; // duplicated !!!
    width: var(--graph-block-anchor-width, 16px);
    height: 16px; // duplicated !!!
    height: var(--graph-block-anchor-height, 16px);
    ...
}

<div class="graph-block-anchor graph-block-anchor-out graph-block-position-absolute"
     style="--graph-block-anchor-x: 320px; --graph-block-anchor-y: 65px;">
    ....
</div>

At the moment the library provides values for --graph-block-anchor-x and --graph-block-anchor-y.
It would be convinient if the library provided also sizes:

  • --graph-block-anchor-width
  • --graph-block-anchor-heigh

Is it possible to implement it?

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