Merge pull request #31529 from SonilPro/fix-dependency-graph-viewbox
Fix dependency graph viewbox
This commit is contained in:
@@ -197,6 +197,7 @@ export type EntityRelationsGraphProps = {
|
||||
renderEdge?: DependencyGraphTypes.RenderEdgeFunction<EntityEdge>;
|
||||
curve?: 'curveStepBefore' | 'curveMonotoneX';
|
||||
showArrowHeads?: boolean;
|
||||
allowFullscreen?: boolean;
|
||||
};
|
||||
|
||||
// @public
|
||||
|
||||
@@ -92,6 +92,7 @@ export type EntityRelationsGraphProps = {
|
||||
renderEdge?: DependencyGraphTypes.RenderEdgeFunction<EntityEdge>;
|
||||
curve?: 'curveStepBefore' | 'curveMonotoneX';
|
||||
showArrowHeads?: boolean;
|
||||
allowFullscreen?: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -118,6 +119,7 @@ export const EntityRelationsGraph = (props: EntityRelationsGraphProps) => {
|
||||
renderEdge,
|
||||
curve,
|
||||
showArrowHeads,
|
||||
allowFullscreen,
|
||||
} = props;
|
||||
|
||||
const theme = useTheme();
|
||||
@@ -169,6 +171,7 @@ export const EntityRelationsGraph = (props: EntityRelationsGraphProps) => {
|
||||
zoom={zoom}
|
||||
curve={curve}
|
||||
showArrowHeads={showArrowHeads}
|
||||
allowFullscreen={allowFullscreen}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user