Skip to content

Conversation

jharris4
Copy link
Contributor

No description provided.

Copy link
Contributor

@OskarDamkjaer OskarDamkjaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I trust Hanes offline review!

@jharris4 jharris4 merged commit bf122d6 into neo4j:master Jun 11, 2021
Copy link
Member

@oskarhane oskarhane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 🦅

Acting on comment is optional :)

const captionText = style.interpolate(template, node)
const nodeText = style.interpolate(template, node)
const captionText =
nodeText.length > 100 ? nodeText.substring(0, 100) : nodeText
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need the length check?

@OskarDamkjaer OskarDamkjaer changed the title truncate node captions to 100 chars in viz to fix crash Truncate node captions to 100 chars in viz to fix crash Jun 22, 2021
@jharris4 jharris4 changed the title Truncate node captions to 100 chars in viz to fix crash Fix graph visualization performance issues for nodes with long captions Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants