Skip to content

Commit

Permalink
remove widths
Browse files Browse the repository at this point in the history
  • Loading branch information
amcdnl committed Aug 28, 2023
1 parent d12e761 commit c3cf566
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion src/layout/forceDirected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export function forceDirected({
// The graph links. Must be called after setting the grouping attribute
.links(edges)
// Size of the chart
.size([1155, 791])
.size([100, 100])
// linkStrength between nodes of different clusters
.linkStrengthInterCluster(linkStrengthInterCluster)
// linkStrength between nodes of the same cluster
Expand Down
10 changes: 0 additions & 10 deletions src/layout/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,6 @@ export interface LayoutFactoryProps {
*/
drags?: DragReferences;

/**
* Chart height.
*/
height?: number;

/**
* Chart width.
*/
width?: number;

/**
* Get the node position for a given node id.
*/
Expand Down

0 comments on commit c3cf566

Please sign in to comment.