Skip to content

Some node labels appear blurry (low quality) #29

@dataexcess

Description

@dataexcess

Hi there,

I am having issues that certain labels only have lower rendered quality than other labels.
The selection of labels seem random...

here's an example: https://yvxeccunoeyjlmbhtexv.supabase.co/storage/v1/object/public/graph_snapshots/graph.jpg

this is my cytosnap code:

const renderSnapshotImage = async (graphData) => {
    const snap = cytosnap()
    await snap.start()

    const img = await snap.shot({
        elements: graphData.elements,
        layout: graphData.layout,
        style: graphData.style,
        resolvesTo: 'base64',
        format: 'png',
        width: 2000,
        height: 2000,
        background: 'rgb(255,248,240)'
    })

    const buff = Buffer.from(img, 'base64')
    return buff
}

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