Skip to content

Fix the problem of the self-node visualization problem#453

Open
shengqh wants to merge 2 commits intojinworks:mainfrom
shengqh:main
Open

Fix the problem of the self-node visualization problem#453
shengqh wants to merge 2 commits intojinworks:mainfrom
shengqh:main

Conversation

@shengqh
Copy link

@shengqh shengqh commented Mar 24, 2026

the loops in the same node in circle plot have wrong direction.

image

adding "* -1" to the loop.angle assignment fix the problem.

Line 1336 and 1739:
loop.angle<-ifelse(coords_scale[igraph::V(g),1]>0,-atan(coords_scale[igraph::V(g),2]/coords_scale[igraph::V(g),1]),pi-atan(coords_scale[igraph::V(g),2]/coords_scale[igraph::V(g),1])) * -1

HGPS circle_weight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant