Skip to content

Inaccurate SVG element calculationsΒ #3

@ginger-tek

Description

@ginger-tek

For some reason, the shape labels are not rendering correctly out-of-the-box with 8.4.0. The <div> inside the foreignObject elements of nodes on the graph is being cutoff. It looks like the renderer is not calculating the width of the node with consideration of the default "padding", and right side of the

element is hidden. Below is what it looks like; the label is supposed to say "Introduction", but the "n" is hidden:
image
You can see in this screenshot how the <div> is being hidden by it's encompassing parent element(s), and how the width properties differ:
image

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