0

I have the following table enter image description here

I need to render a network using Igraph, with each node representing the person involved in the project. (for this purpose I used a rubber duck in a very low resolution)

enter image description here

As you can see right now, at each node in rendering just the "Work Item" but I need to render a string containing a Base 64 jpeg.

library(igraph)
g <- graph_from_data_frame(dataset, directed=TRUE)
ceb <- cluster_edge_betweenness(g) 
plot(ceb, g, vertex.label.cex=.5)
Szabolcs
  • 24,728
  • 9
  • 85
  • 174
  • We need `dataset` to reproduce your code; please use `dput` to include sample data. – FKneip Aug 29 '22 at 09:11
  • Hi, Have you click in the "I have the following table" hyperlink? You should be able to download the file. – Patricio Lobos Aug 29 '22 at 10:08
  • Data should not be stored on an external site (links break over time). The question should be self-sufficient. See [how to share data in a reproducible format](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example). So you want the actual image encoded in the image_with_prefix column to be drawn in the center of the circles? – MrFlick Aug 29 '22 at 14:22
  • Correct, what I need is the image drawn at the nodes. About reproducible format, not even one Base64 string will fit on the allow space for comments or description. Below DPUT() outout without string B64. structure(list(`Work Item Id` = c(141958, 141959, 141961, 141962, 141963, 142286), `Parent Work Item Id` = c(141957, 141957, 141957, 141957, 141957, 141968)), row.names = c(NA, -6L), class = c("tbl_df", "tbl", "data.frame")) – Patricio Lobos Aug 30 '22 at 08:03

0 Answers0