cosmos icon indicating copy to clipboard operation
cosmos copied to clipboard

graph nodes are in blury format and the labels are illegible

Open sadnzr opened this issue 2 years ago • 4 comments

Hello! I use cosmograph in my app and unfortunately, tgraph nodes are in blury format and the labels are illegible , is this related to vga of the server? or require the gpu module in production space? graph

sadnzr avatar Apr 21 '24 08:04 sadnzr

@sadnzr Cosmograph relies on your machine's GPU, so it's probably an issue with your GPU itself or with the drivers. We've never seen such behavior before, can you provide with technical details of your GPU and OS?

rokotyan avatar Apr 21 '24 22:04 rokotyan

@rokotyan my server does not have any GPU, it seems I must use GPU module explicitly! but is it possible to use good VGA card instead?

sadnzr avatar Apr 22 '24 10:04 sadnzr

Dear Nikita! I have another problem! in entrance of the graph page the zoom level does not work properly! this is all my configs: <Cosmograph ref={cosmograph} className="cosmographStyle" showLabelsFor={showLabelsFor} nodeLabelColor={theme.palette.primary.light} hoveredNodeLabelColor={theme.palette.primary.dark} nodeSize={1} nodeScale={0.5} nodeColor={(n)=>n.color ? n.color : theme.palette.primary.main} linkArrows={false} linkColor={theme.palette.primary.contrastText} linkDistance={10} linkSpring={2} linkWidth= {l => l.width ?? null} randomSeed={10} initialZoomLevel={5} gravity={0.5} fitViewDelay={50} friction={0.8} repulsion={1} repulsionTheta={0.3} useQuadtree ={true} decay={1000} disableSimulation={false} fitViewOnInit={true} backgroundColor={theme.palette.info.dark} onClick={onCosmographClick} /> Screenshot_20240422_135149 png

sadnzr avatar Apr 22 '24 10:04 sadnzr

@sadnzr Can you please create an example on CodeSandbox or StackBlitz? That will enable us to take a look at the issue

rokotyan avatar Apr 23 '24 01:04 rokotyan

Stale issue, closing

rokotyan avatar Aug 14 '24 22:08 rokotyan