Skip to content

Commit

Permalink
fix: update comment of sankey
Browse files Browse the repository at this point in the history
  • Loading branch information
xile611 committed Dec 4, 2024
1 parent b8488c0 commit 180fb2b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/vgrammar-sankey/src/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export interface SankeyOptions {
/**
* the align type of y position of nodes is differnt layer when the direction is `hotizontal`
* the align type of x position of nodes is differnt layer when the direction is `hotizontal`
* the option `parent` is added since 0.14.17
*/
crossNodeAlign?: 'start' | 'end' | 'middle' | 'parent';
/**
Expand Down Expand Up @@ -74,6 +75,7 @@ export interface SankeyOptions {
/**
* the maximal size of node when data is not zero or null
* this configuration can be used to avoid too large node to be seen when data is too big
* @since 0.14.17
*/
maxNodeHeight?: number;
/**
Expand All @@ -85,6 +87,7 @@ export interface SankeyOptions {
minLinkHeight?: number;
/**
* the maximal size of link when data is not zero or null
* @since 0.14.17
*/
maxLinkHeight?: number;
/** the iteration count of layout */
Expand Down

0 comments on commit 180fb2b

Please sign in to comment.