• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 15333013138
88%

Build:
DEFAULT BRANCH: main
Ran 29 May 2025 08:59PM UTC
Jobs 1
Files 817
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 May 2025 08:07PM UTC coverage: 87.837% (-0.03%) from 87.871%
15333013138

push

github

web-flow
Change style of DAG generated in dag_drawer() (#13253)

* Added 'custom' style that exposes graphviz customization functions for maximum customizability

* Added type hints to function calls

* Added docs

* Adds tests for dag_drawer

* Fixed invalid exceptions caught by test

* ran formatter and linter on code

* Formatted code and test to abide by pylint standards

* Fix typo in docs for graph_attr kwarg

* placed functionality into stylesheets

* Added error correction to dag visualization

* rewrote tests to work with new stylesheet method

* Added color templates for DAGs

* Added common style templates for DAGs in
  qiskit/visualization/dag/styles
* Loaded styles from stylesheets to color DAG
* Fixed bug where 'plain' DAGs did not label nodes

* Re-format docs for dag_visualization

* reformatted dag_visualization.py

* Ran linting

* Added artifacts for docs to recognize stylesheets

* Fixed errors to match original invocation of dag_drawer()

* Fixed small import formatting issue

* Adds release notes for PR

* Modified DagDependency code to match previous impl

* Apply suggestions from code review

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>

* merge load_style implementations

* Ran linting

* removed unused imports

* Added docs to new load_style function

* Ran linting

* Refactored style classes to add types

* moved load_style function to qiskit/visualization/style.py

* Fixed linting issues

* resolves dependency cycle

* Apply suggestions from code review

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>

* merge load_style implementations

* fixed edge case with failing default style initialization

* Fixes type init issues

* Adds functionality to load_style to support throwing errors if style
  is not identified
* Standardizes load_style input to ingest StyleDict as a type, and
  DefaultStyle as an object

* ran black formatting

* Updated documentation for load_style

* R... (continued)

87 of 205 new or added lines in 6 files covered. (42.44%)

18 existing lines in 4 files now uncovered.

79644 of 90673 relevant lines covered (87.84%)

362402.16 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
73.33
qiskit/visualization/dag/dagstyle.py
22
72.84
qiskit/visualization/style.py
92
10.69
-0.76% qiskit/visualization/dag_visualization.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.23
-0.23% crates/qasm2/src/expr.rs
4
91.48
-0.5% crates/qasm2/src/lex.rs
6
97.15
-0.46% crates/qasm2/src/parse.rs
7
10.69
-0.76% qiskit/visualization/dag_visualization.py
Jobs
ID Job ID Ran Files Coverage
1 15333013138.1 29 May 2025 08:59PM UTC 817
87.84
GitHub Action Run
Source Files on build 15333013138
  • Tree
  • List 817
  • Changed 7
  • Source Changed 4
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15333013138
  • c214e1cb on github
  • Prev Build on gh-readonly-queue/main/pr-14275-abe9109364a16a97470431c010047b7888ed768c (#15329723268)
  • Next Build on main (#15345357897)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc