Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dependency graph clipping (#33) #34

Merged
merged 1 commit into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v4
- name: Set up Node 12
- name: Set up Node 18
uses: actions/setup-node@v1
with:
node-version: '12'
node-version: '18'
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ class DependencyGraph extends Component<
this.d3render(inner, this.g);
inner.attr("transform", `translate(20, 20)`);
svg.attr("height", this.g.graph().height + 40);
svg.attr("width", this.g.graph().width + 40);
}
async componentDidMount() {
await SERVER.initConnections();
Expand Down Expand Up @@ -166,7 +165,7 @@ class DependencyGraph extends Component<
disableContentPaddings={true}
>
<div className="holder">
<svg width="100" height="100" ref={this.svg}>
<svg height="100" style={{width: "100%"}} ref={this.svg}>
<g ref={this.innerG} />
</svg>
</div>
Expand Down
Loading