Questions tagged [r-graphviz]

Rgraphviz is a software package that interfaces R with the AT&T graphviz library for plotting R graph objects from the graph package.

r-graphviz
Filter by
Sorted by
Tagged with
44 votes
0 answers
982 views

Use the `pos` argument in Rgraphviz to fix node position

Based on this question Automatically curving an arc when it is overlapping with another one, I am trying to set the pos attribute in a RGraphviz plot. Can someone show how to correctly use the pos ...
user20650's user avatar
  • 25.4k
5 votes
1 answer
2k views

bnlearn + Rgraphviz: double arrows instead of undirected edges when customizing plots

I am trying to customize a plot of a graph learned with bnlearn using RGraphviz. When I have undirected edges, RGraphviz turns them into directed edges to both directions when I try to customize the ...
jcp's user avatar
  • 799
2 votes
1 answer
725 views

How do I graph a Bayesian Network with instantiated nodes using bnlearn and graphviz?

I am trying to graph a Bayesian Network (BN) with instantiated nodes using the libraries bnlearn and Rgraphviz. My workflow is as follow: After creating a data frame with random data (the data I am ...
Vincent Good's user avatar
2 votes
1 answer
1k views

Error with R version 4.0.2 but not in R version 3.6.3 with DiagrammR: ! LaTeX Error: Environment grViz undefined

I have successfully used grViz in DiagrammR with an R markdown (bookdown) file on R version 3.6.3 that causes an error on another computer with R version 4.0.2. I have "tried everything" ...
jys's user avatar
  • 121
2 votes
0 answers
256 views

Setting subgraph/cluster attributes in Rgraphviz

I want to plot a graph via Rgraphviz but I can't handle the design attributes of the clusters that I set. There are similar questions already on SO and elsewhere but none has a real minimal working ...
locom's user avatar
  • 115
1 vote
1 answer
450 views

Creating a network graph with set node positions and concentrated edges with both circleheads and arrowheads in R

I've been trying to find a way to replicate the following network graph format in R using DiagrammeR/GraphViz, but without success (ignore the thick black arrow on N1): https://i.stack.imgur.com/oHpQz....
mccoy's user avatar
  • 13
1 vote
0 answers
259 views

Creating flowchart with DiagrammeR nodes and edges instead of graphviz

I would like to create a flowchart using the DiagrammeR nodes and edges functionality with R instead of using the graphviz wrapper function. However, I can't figure out how to make the edges straight ...
Marton Kovacs's user avatar
1 vote
0 answers
100 views

Wrong nodesize in Rgraphviz dot layout

I have the following graph object saved as a file ("Test.txt") and I would like to visualize this graph with Rgraphviz: # importing data yo <- agread("Test.txt", layoutType="neato", layout=...
Ju Ko's user avatar
  • 475
1 vote
1 answer
884 views

What is the code to install BiocManager package?

I needed to install Rgraphgviz package, for which i found this code if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager") BiocManager::install("Rgraphviz", ...
Sourav Kumar's user avatar
0 votes
1 answer
295 views

R diagrammeR graph

I am using diagrammer for a diagram that should look like the one below but without any success. I have tried the following code library(DiagrammeR) grViz(" digraph boxes_and_circles { graph [...
DSTO's user avatar
  • 275
0 votes
1 answer
445 views

graphViz: How to use fixed positions for nodes from "neato" layout but have pretty curved edges from "dot" layout?

I have this dot code which I use in R's diagrammeR-package: grViz("digraph { graph [layout = neato, overlap = false, outputorder = edgesfirst] node [shape = rectangle] # ...
mkks's user avatar
  • 23
0 votes
1 answer
153 views

Bioconductor package installation : missing repository

I am trying to publish a shiny app, but getting the following error. My code is working fine in Rstudio though. Only get this error when I try to publish it. install.packages("BiocManager&...
Dihan's user avatar
  • 311
0 votes
1 answer
77 views

RGraphviz Hasse Diagram displaying only one lable

In order to create an Hasse Diagram like the following One is using the following libraries library(rPref) library(Rgraphviz) One is taking a small sample of one's data df <- data[1:10,] Then ...
Gonçalo Peres's user avatar
0 votes
0 answers
63 views

Graphviz is drawing DAGs with missig arrows and circle frames of the nodes

I'm experimenting with bnlearn R library and its DAGs. I'm new to R as well. I tried the code example here > tree = model2network("[A][B|A][C|A][D|A][E|B][F|B][G|C][H|C][I|C]") > ...
CiCi's user avatar
  • 47