briatte / ggnet

Network visualization with ggplot2
https://briatte.github.io/ggnet/
194 stars 33 forks source link

ggnet2 does not show Chinese characters #47

Closed chentitus closed 1 year ago

chentitus commented 1 year ago

Hi, I am new to ggnet2. I was working on a token network analysis. I realized that ggnet2 does not show Chinese tokens at all (see the screenshot please). How do I fix it? Any solutions are appreciated!

Screenshot 2023-03-20 at 10 26 33 AM

briatte commented 1 year ago

Hi @chentitus

The issue is very likely with the underlying ggplot2 package. I guess a fix must exist, but you will have to find it in the documentation for that package.

I would also recommend using ggraph for a more powerful and up-to-date graphing solution that uses ggplot2.