`plot.initial_graph` breaks when `pairs` curvature is implicit and a paired edge curve is adjusted

Open
#57 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
r

Research direction

Start by running the two provided plot() calls with wd_2005_graph and trace the plot.initial_graph path, comparing how implicit and explicit pairs curvature are handled. Done means the call with only "H3|H2" = 6 behaves correctly like the explicit "pairs" case, without breaking the existing working example.

Written by the indexing model from the issue text.

Description

wd_2005_graph <- graph_create(
    c(1 / 3, 1 / 3, 1 / 3),
    rbind(
      c(0, 1, 0),
      c(0, 0, 1),
      c(.5, .5, 0)
    )
  )

plot(wd_2005_graph, layout = "grid", nrow = 1, asp = .1, edge_curves = c("pairs" = 4, "H3|H2" = 6)) # OK
plot(wd_2005_graph, layout = "grid", nrow = 1, asp = .1, edge_curves = c("H3|H2" = 6)) # Not OK
Dominant language
R
Stars
23
Forks
1
Avg merge
1h 42m
Merged PRs (30d)
3

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

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.

More from openpharma/graphicalMCP

All issues in openpharma/graphicalMCP

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.