perftools / perftools/xhgui

执行流程图无法完全展示(Callgraph not full show)

Open
#283 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
341
PR merge metrics
No merged PRs in 30d

Description

执行流程图无法完全展示(Callgraph not full show)

var el = d3.select(container),
width = parseInt(el.style('width'), 10),
height = 1000;

var svg = d3.select(container).append('svg')
.attr('class', 'callgraph')
.attr('width', width)
.attr('height', height);

height is fixed value and dynamic width value is not correct

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the callgraph rendering code containing the d3.select(container) and fixed height = 1000 snippet. Reproduce the graph in containers of different sizes, then verify that the entire callgraph is visible with correct responsive dimensions.

Written by the indexing model from the issue text.

Assessment

Tech stack
d3, javascript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.