Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some node labels appear blurry (low quality) #29

Open
dataexcess opened this issue Apr 16, 2024 · 1 comment
Open

Some node labels appear blurry (low quality) #29

dataexcess opened this issue Apr 16, 2024 · 1 comment

Comments

@dataexcess
Copy link

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
}
@maxkfranz
Copy link
Member

The image link is dead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants