Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonov548 committed Dec 19, 2023
1 parent f87e593 commit ff8b091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/page/src/graphs/ShortestPath.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export const ShortestPath = ({ igraph }) => {
height={400}
ref={fgRef}
graphData={data}
linkColor={link => { console.log(link); console.log(edges); const idx = edges.find(id => id === link.index); const color = idx === undefined ? 'gray' : 'red'; return color; }}
linkColor={link => { const idx = edges.find(id => id === link.index); const color = idx === undefined ? 'gray' : 'red'; return color; }}
nodeColor={node => { const idx = vertices.find(id => id === node.id); const color = idx === undefined ? '#1d97e0' : 'yellow'; return color; }}
linkDirectionalParticleColor={() => 'red'}
onNodeClick={handleNodeClick}
Expand Down

0 comments on commit ff8b091

Please sign in to comment.