Skip to content

Commit

Permalink
Website | Docs | Graph: Information about labels trimming configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
rokotyan committed Feb 6, 2023
1 parent a0aa0b8 commit 52e8cec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/website/docs/networks-and-flows/Graph.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ Node label and sub-label can be set by providing the `nodeLabel` and `nodeSubLab
:::tip
By default, long labels will be trimmed and displayed in full only on hover. You can control that behaviour via the
`nodeLabelTrim` and `nodeSubLabelTrim` config properties.

You can also configure how trimming works by specifying custom `nodeLabelTrimMode`, `nodeLabelTrimLength`, `nodeSubLabelTrimMode`,
and `nodeSubLabelTrimLength` values.
:::

<GraphDoc
Expand Down

0 comments on commit 52e8cec

Please sign in to comment.