Skip to main content

Questions tagged [visnetwork]

visNetwork is an R package for network visualization that uses vis.js JavaScript library. Avoid using this tag for vis.js network created with JavaScript directly (not in R)

0 votes
0 answers
10 views

R visNetwork arrow type

The below code is meant to yield the following network graph: . library(visNetwork) library(magrittr) nodes <- data.frame(id=c("a","b","c","d"), label=c(&...
jbowerbir's user avatar
1 vote
0 answers
19 views

R visNetwork: adding edge types and arrow placement

I need to produce a network graph where (A) some nodes are a subcategory of other nodes, (B) some nodes are considered equivalent to other nodes, and (C) some nodes are specifically highlighted as ...
jbowerbir's user avatar
0 votes
1 answer
189 views

R: Multiple Dropdown Menus

I made the following network in R: library(igraph) library(reshape2) north_american_cities <- c("New York", "Los Angeles", "Chicago", "Houston", "...
stats_noob's user avatar
  • 5,689
0 votes
0 answers
19 views

Specifying group color in VisNetwork does not work

I am trying to plot several causal loop diagrams based on a data set that contains to, from, polarity, and group, the group a variable belongs to. In the diagram I want the nodes of each group to ...
Christa Blokhuis's user avatar
0 votes
1 answer
27 views

Display visnetwork magnified and in whole space of a shiny app

I create a large network inside a shiny app but I dont like that is not displayed by default in the whole space and it looks very small. How can i make it be displayed in bigger width and height to ...
firmo23's user avatar
  • 8,306
0 votes
1 answer
24 views

Add edges that begin from network nodes and lead to nothing?

Can I add edges with arrows that begin from nodes 4 5 6 7 and lead to nothing? Just 4 straight lines. library(visNetwork) # Create nodes data frame nodes <- data.frame( id = 1:7, label = c(&...
firmo23's user avatar
  • 8,306
0 votes
0 answers
9 views

Set the distance-in height-between the nodes of the same level in visNetwork?

Is it possible to set the distance between nodes of the same level(for example here the 4 last nodes of the 3rd level)? I want to be able to set the distance(height) between them. Probably that would ...
firmo23's user avatar
  • 8,306
1 vote
1 answer
36 views

Use visnetwork to recreate hierarchy tree

Im trying to use visNetwork package to recreate the hierarchical tree below as you can see it in the image but I cannot set the hierarchy for the positions. # Install and load the visNetwork package ...
firmo23's user avatar
  • 8,306
0 votes
0 answers
13 views

Visnetwork not displaying visLegend properly

I am using the package VisNetwork and one of the attributes of the nodes contains 9 different possibilities, as follows. This is just a minimal example. In my real dataset, the column "family&...
wigo's user avatar
  • 3
0 votes
0 answers
14 views

how to save a drag and drop graph in Rshiny after drawing a flowchart with visNetwork

I want to implement it on the shiny platform to remember the shape of the flow chart after I modify it. When I rename a node each time, its shape will not reset, and I can drag it to my favorite shape ...
sina wang's user avatar
0 votes
0 answers
18 views

Does anyone know how to save a drag and drop graph in Rshiny after drawing a flowchart with visNetwork

I have two problems to solve: I want to implement it on the shiny platform to remember the shape of the flow chart after I modify it. When I rename a node each time, its shape will not reset, and I ...
sina wang's user avatar
0 votes
1 answer
75 views

Arrows in a visNetwork plot in R

I'm creating a network using the visNetwork library in R. My network is directed and hence I want arrows in my network. But I can't seem to get it, even after adding it to the edges data frame I tried ...
sal13's user avatar
  • 1
0 votes
0 answers
53 views

How to show icon with label in a node vis-network graph

I am using vis-network to show network graph. I trying to show a icon font awesome icon in node. In current graph I am showing label in the node. Now, I want to show a icon as well with the label in ...
Harshit Thakurr's user avatar
0 votes
1 answer
84 views

Color edges according to edge attribute in visNetwork

I'm trying to color edges in a graph according to an edge attribute using visNetwork, but they keep coming out the same color as the nodes. What am I doing wrong? Code: edges$color <- edges$...
MoonS's user avatar
  • 175
0 votes
0 answers
22 views

How x and y coordinates in vis-network smoothWorldCup example calculated?

I'm trying to render a service map. Some service(s) has many dependencies. I'm trying to group those service(s) with more number of connections in one area in the rendered layout. But I didn't found ...
Hari Krishnan's user avatar

15 30 50 per page
1
2 3 4 5
12