28,473
questions
0
votes
0
answers
11
views
Is there an efficient algorithm for uniformly sampling all connected subgraphs of a given size that contain a given node
I have an unweighted d-regular graph, and I wish to uniformly sample all connected subgraphs of a given size that contain a given node.
Is there a known algorithm for doing this?
0
votes
1
answer
14
views
How to find co-connected nodes with 'k' relationships? - Neo4j
I'm having a large Neo4j database, below is the small subset of nodes and relationships.
I have 3 different kind of nodes:
(Pink) Customers
(Blue) Transactions
(Yellow) Terminals
It's easy to find ...
0
votes
1
answer
40
views
How to find the minimal amount of steps to visit all of the graph, when all visited nodes can also visit other nodes
The problem can be easier to understand if you imagine it like a disease spreading, where all the infected can spread the disease to one other target. Consider the patient-zero as the starting node. ...
1
vote
1
answer
21
views
networkx graph get groups of linked/connected values with multiple values
If I use such data
import networkx as nx
G = nx.Graph()
G.add_nodes_from([1, 2, 3, 4, 5, 6, 7])
G.add_edges_from([(1, 2), (1, 3), (2, 4), (5, 6)])
print(list(nx.connected_components(G)))
Everything ...
0
votes
0
answers
20
views
Complex cypher query [closed]
Assume a tax situation: A business entity closes its books on the last day of the last month of the tax year for that entity.
After closing the books, each entity issues dividend to its shareholders, ...
1
vote
1
answer
25
views
networkx graph get groups of linked/connected values
I've got such data
import networkx as nx
G = nx.Graph()
G.add_nodes_from([1, 2, 3, 4, 5, 6, 7])
G.add_edges_from([(1, 2), (1, 3), (2, 4), (5, 6), (7)])
As you can see 1 is connected with 2 (edge 1, ...
0
votes
0
answers
29
views
How to link Service Principal preferredTokenSigningKeyThumbprint to a certificate in keyCredentials
I am trying to get Service Principal and SAML information with Graph, but the preferredTokenSigningKeyThumbprint and the ThumbPrint from keyCredentials.CustomKeyIdentifier don't match
I use this ...
0
votes
0
answers
13
views
ForceAtlas2 and Nooverlap configuration graphology & sigma.js
I'm using the graphology and want the graph to keep the communities together but communities should be very spaced away from each other, also the nodes shouldn't be stuck together so the labels are ...
0
votes
1
answer
24
views
How to see the participant who makes the call in Microsoft Teams with the graft api?
Good communities, I am trying to identify the participant who makes the call and the participant who receives it, I am not talking about a meeting but one on one.
Thanks!
i receved all Participant but ...
-1
votes
1
answer
48
views
Error in Java : incompatible types: cannot infer type arguments for PriorityQueue<>
class Solution {
class City{
int city;
long time;
City(int c, long t){
city = c;
time = t;
}
}
public int countPaths(int n, int[][] ...
0
votes
1
answer
41
views
Coloring points on a graph proportionately
I have this graph in R:
library(igraph)
width <- 30
height <- 20
num_nodes <- width * height
x <- rep(1:width, each = height)
y <- rep(1:height, times = width)
g <- ...
1
vote
0
answers
30
views
Add user to existing online meeting
I want to add users to an existing online meeting via graph and a flow. The flow runs without issues but the user are not added.
These are my inputs:
{
"uri": "https://graph.microsoft....
1
vote
0
answers
14
views
mergeE gremlin type script
g.mergeE(
new Map([
[T.label, edgeLabel],
[Direction.out, `src_${id}`],
[Direction.in, `dest_${id}`],
]),
...
0
votes
1
answer
43
views
How can I add box plots in my circular graph in R
I couldnt handle the circular data. Even though december and january are close in a circular context, the box plot extends around the entire circle and doesn't properly reflect their continuity.How ...
-3
votes
0
answers
32
views
Word Ladder 2 Leetcode Java : I am getting a time limit exceed problem in my solution [closed]
import java.util.*;
class Solution {
public List<List<String>> findLadders(String beginWord, String endWord, List<String> wordList) {
HashSet<String> wordL = new ...
0
votes
1
answer
52
views
Is there a way to make a flow map in R that ends with a value or a bar graph
I am trying to make something similar to a flow map to visualize outcomes based on a model I wrote. Given the dataframe I simulate below I'm looking for something similar to this image, ideally with ...
0
votes
2
answers
41
views
In AWS CloudWatch, is it possible to graph a sum of different metrics per minute?
There are multiple servers doing data stream processing, and each of them is sending two custom metrics to AWS CloudWatch every minute:
RecordCount
RecordCount-{server_id}
The metric RecordCount is ...
0
votes
1
answer
37
views
Problem with settings scale breaks with ggplot2 in R
I'd like to make a line plot for longitudinal data in a design with two groups.
Since the group means range from 30-43 I want my plot to start at 28.
Nevertheless, I want the scale of the y-axis to ...
1
vote
1
answer
49
views
Finding the Optimal Path in a Graph from Start to End with Necessary and Optional Waypoints Under a Cost Constraint [closed]
I am working on a problem involving pathfinding in a weighted graph where I need to travel from a start node to an end node while considering a mix of necessary and optional waypoint nodes. The key ...
0
votes
1
answer
51
views
GGplot does not show all points on the x-axis [closed]
I have the following dataframe in which the x-axis represents the phases of a project (1 to 5 in ascending order) and the y-axis represents the names of the projects.
df1 = data.frame(a = c("...
1
vote
1
answer
36
views
Is it possible to create a graph in which a single broad bar contains multiple bars in Angular?
I want to create a graph like this
I haven't been able to find a solution.
I asked ChatGPT for the solution. The code it gave out did not work even after trying to make it work.
At the end of ...
0
votes
0
answers
20
views
Facebook - Scheduled posts on pages via Graph API
I am using Python and Facebook Graph API v17.0 to schedule image posts. I use scheduled_publish_time
parameter when creating the post, also I am specifying published parameter to false. The problem I ...
0
votes
0
answers
28
views
How to efficiently create a large multilayer graph from ROOT file for machine learning uses in StellarGraph
I want to create a multilayered graph following this kind of structure (but with every node also connecting to each node from next layer):
What I want to do with this graph is to apply some machine ...
-2
votes
0
answers
55
views
What is the best approach to implement a graph data structure in Redis?
I have to create a graph where the nodes represent network devices and edges represent connectivity between the devices. I have to use a in memory database for good performance and Redis is the only ...
0
votes
1
answer
6
views
Init pnpjs/graph inside a word office addin
We want to read a JSON file from a SharePoint document library to provide our Word add-in with selection data.
We are currently testing the possibility of doing this using the pnpjs framework.
...
-2
votes
0
answers
37
views
How to count valid paths in an infinite rooted tree ("Maple") with specific constraints in Java? [closed]
I'm working on a problem related to a unique graph structure called a "Maple," which is an infinite rooted tree with specific characteristics:
Structure of the Maple Tree:
Each node in the ...
1
vote
0
answers
35
views
How to check if a directed graph (using adjacency list, not a adjacency matrix) is connected? [closed]
I have been looking for this algorithm in vain for a while. Thanks for your help
0
votes
0
answers
26
views
In a Python plotly bar chart, can I toggle discrete x-axis items in addition to a legend?
I have a plot like this that shows 'Metrics' across different 'Regions':
I can filter regions by clicking on the legend, and I can switch to showing individual metrics using the dropdown menu.
What I ...
1
vote
1
answer
36
views
Create a graph that includes all columns until the last column
I want to create a graph in Excel using vba with a dynamically amount of columns.
My partial current code is:
'Create chart
'Columns("A:DZ").Select
ActiveSheet.Shapes.AddChart2(240, ...
0
votes
0
answers
23
views
Issue with Commit Upload for Win32 App in Intune via PowerShell Runbook
I'm encountering an issue while trying to upload a Win32 app to Intune. The app is an .exe installer that I converted to an IntuneWin file before attempting the upload using a PowerShell runbook. ...
0
votes
1
answer
19
views
Storing and accessing edge data in a graph characterized by its adjacency list representation in C++
I am currently solving a problem concerning graphs in Data Structures in C++. The exercise says I should "build on the adjacency list representation of a graph, so that a field named data of type ...
0
votes
0
answers
36
views
Microsoft Graph API not returning all Calendar Events
I am using the MS Graph API to extract all meetings data from a specific MS tenant. The data I am recieving does not match outlook calendar's within the tenant when I try to validate. Is this a common ...
0
votes
0
answers
54
views
How to request access token for Microsoft Graph API in .NET Core application?
I'm trying to create a quick, simple Teams channel demo app, but am stuck trying to figure out the Graph API. I'm able to test the available endpoints through the Graph Explorer in the browser. I have ...
0
votes
1
answer
33
views
Is My Greedy Approach to Finding the Largest Independent Set Optimal?
I am working on a task to find the largest independent set in a graph. After researching various approaches, I found that backtracking is often recommended, but it has exponential time complexity, ...
0
votes
1
answer
52
views
Swift Execution Graph: Protocol + Generics Impasse
I'm trying to create a generic acyclic execution graph composed of nodes. Each node has 0 or more inputs and outputs. Each input and output is typed for a specific object type (Double, UIImage, String,...
0
votes
1
answer
73
views
plot a distribution over time
Very new to R.
I've been struggling with a very simple question, but I can't find a way around it
I need to be able to see the distribution of assets across time.
Here's the code. What I have in mind ...
0
votes
1
answer
70
views
Overlay centralised dots on grouped bar chart using ggplot
I want to overlay centralised dots on grouped bar chart using ggplot, but I could not achieve that. Any help will be appreciated. Below is my code:
# Dummy data
dummy_df <- data.frame(facility = ...
1
vote
1
answer
34
views
How can I facet_wrap values of two lists?
I have two lists of vectors, one for semitones of 188 melodies and one for the timeline of each melody in seconds. I would like to use ggplot to create a graph for each melody to see the movement of ...
0
votes
0
answers
31
views
Improving runtime of graph computation
I am using pycel to create a graph of an excel calculation. Essentially I have a cell that performs some calculation:
E.g., =AVERAGE(I2:X2)
Which in turn is a function of other cells in other ...
2
votes
2
answers
69
views
Boost kamada_kawai_spring_layout using Topology derived from GeographicLib ... failing
I am trying to get a kamada kawai spring layout to work on the surface of an ellipsoid.
I have written a convex_topology specialisation that implements GeographicLib's Geodesic functions, and then I ...
-1
votes
0
answers
33
views
Unable to refresh live plot on gtkmm PLplot?
I have an internal function called graphOperation() which basically keeps receiving Graph data into two global vectors level and aver.
I then use these vectors to display my graph, which used to be a ...
0
votes
1
answer
72
views
How can I set the group policy that's available within 'My Groups" using MS Graph?
How can I set the group policy that's available within My Groups using MS Graph?
I want to set the policy to "This group requires owner approval" for a group created using MS Graph. ...
0
votes
0
answers
32
views
Python function to create a network graph
I hope some kind soul can help me out. I am getting myself confused. I am trying to write a python3 function that takes in a list of network pairs eg [['A','B'],[3,2]] with the step/vertex distance to ...
0
votes
0
answers
10
views
Impact of Node Features on GNNs for Node Classification
I'm currently exploring the impact of various node features on the performance of Graph Neural Networks (GNNs) for node classification tasks. I've come across features like PageRank, HITS, and ...
0
votes
0
answers
46
views
Unexpected Filter behavior of the attributes present on relations in AnzoGraph
I am developing an application where I want to fetch some relations present in the AnzoGraph. These relations have some attributes and I want to fetch data by applying filter the attribute present on ...
1
vote
1
answer
52
views
How to add every 8th column to a graph in Excel VBA
I am stuck on how to add only every 8th column of data starting from column Z. The range should always be from row 27 to 194.
This is the code I currently have for creating the graph. I want to ...
2
votes
1
answer
50
views
No solution found OR-Tools VRP
I am having an issue with no solution found for an instance of the OR-Tools VRP.
I am new to OR-Tools. After consulting the docs, my understanding if no first solution is found then no solution at all ...
0
votes
0
answers
34
views
How can I connect all points in a graph with a line given that there are some missing ("NA) values? [duplicate]
I have two dependent variables that I am plotting with respect to my independent variable. One of the dependent variable has several missing values. Here's the data
dataset "test"
X
A
B
0....
0
votes
0
answers
10
views
How to increase the size of the edges of the tree graph shown below to prevent overlapping
I am using the following code to plot R vines
bigpar(2,3)
junk<-fit.rv.sum.mle$RVM
junk[[7]]<-c("Roil" , "Rdollar", "Rbond", "Rgold", "Rcommo" , ...
0
votes
0
answers
37
views
How to adapt scatterplot scales, without reducing the resolution
I wrote a macro that creates a scatter plot of my dataset, using VBA code.
However, I want to reduce the y-scale of my plot by factor 10. This means I want to replace 0.0001 with 0.00001, to get the ...