# Questions tagged [graph]

This "graph" tag refers to a graphic (such as a chart or diagram) which displays the relationship between two or more variables. For the discrete mathematics structure consisting of vertices and edges, use the "graph-theory" tag.

23,130
questions

**0**

votes

**0**answers

3 views

### Preflow-Push Algorithm / Goldberg Tarjan ends in endless loop

i am trying to implement the Goldberg-Tarjan Algorithm, also known as Preflow-Push in java and am kind of stuck at the moment. For small Graphs, for example with 4 nodes, my approach works but for ...

**0**

votes

**0**answers

4 views

### C# program that returns specific pentagon path

I want to create a program that will return the path for drawing a pentagon network. The graph is unweighted, undirected and with 5 vertices. Program should return specific path like this picture:
[...

**0**

votes

**0**answers

6 views

### how to properly setup and run Graphlab powerGraph on ubuntu

i cannot install the graph analytics tools on powerGraph because the URL/URL_MD5 on the CMakeLists.txt file doesn't match the one expected, it's mostly libevent, zookeeper and libbz that can't be ...

**0**

votes

**2**answers

31 views

### Is there any easy algorithm to do edge coloring on a complete graph

For a given complete graph $G$ having $n$ nodes, how can we build a edge coloring of
$G$ with $n$ colors.

**0**

votes

**0**answers

5 views

### Pygal library labeling problem with each bar

I am trying to create a pygal bar chart with this code.
I want each label below each bar so that it can easily be understood..
But all the bars are stacked left side and labels are evenly distributed....

**1**

vote

**1**answer

19 views

### Highcharts : remove custom legend tooltip from export

Here is the code
legend: {
width: 500,
itemWidth: 250,
layout: 'horizontal',
backgroundColor: '#FFFFFF',
align: 'left',
alignColumns:false,
...

**0**

votes

**1**answer

19 views

### how to generate a Http Request for AAD?

so, I get the Access Token and I want to create a request...
HttpClient httpClient = new HttpClient();
httpClient.DefaultRequestHeaders.Authorization = new
...

**0**

votes

**1**answer

13 views

### How to ingest data effectively in Neo4j

I am looking for advice on the best way to handle data going into Neo4j.
I have a set of structured data, CSV format which relates to journeys. The data is:
"JourneyID" - unique ref#/ Primary ...

**0**

votes

**0**answers

6 views

### How to find polygons efficientlyin a given set of points and edges?

Is there any an efficient way to find all basic polygon by given a set of points and edges.
like the picture below show,
I should get :
1-2-5-4,
2-3-5-6,
4-5-8-7,
5-6-9-8,
3-10-6,
6-10-9,
3-11-12-9-...

**-3**

votes

**0**answers

23 views

### solution needed in java [closed]

Gary has a board of size NxM. Each cell in the board is a coloured dot. There exist only 26 colours denoted by uppercase Latin characters (i.e. A,B,...,Z). Now Gary is getting bore and wants to play a ...

**-2**

votes

**0**answers

24 views

### Create the following graph implementing the following functions [closed]

Create the following graph. Implement the following functions using C++ and Data structure.
1. addEdge() that takes two vertices as two parameters and creates an Edge between them.
2. ...

**0**

votes

**2**answers

45 views

### Using GraphServiceClient to retrieve group info of Azure Ad members

i want to retrieve all members of a Azure Ad group within my backend application. I followed the steps here and here and here is my code:
But I always get this error when using the method:
...

**0**

votes

**0**answers

8 views

### Graph classification given node-level outputs using global pooling in pytorch

I have node-level outputs for a graph classification task (using Graph neural nets). Based on this article on GCN, it seems like I have to introduce a pooling layer to transform my outputs into graph-...

**0**

votes

**1**answer

20 views

### Longest path in ordered graph pseudocode

I try to create an algorithm to find the longest path in an ordered graph.
The properties of the ordered graph are:
Each edge goes from a node with lower index to a node with a higher index. That is, ...

**0**

votes

**0**answers

18 views

### Algorithm to calculate shortest path when updating the heaviest edge in a path

For a given graph G=(V,E) and path p= v1->v2->...->vk
w*(p) represents the weight of the path between v1 and vk excluding max_edge.
For a given vertex s in V
I would like to find an algorithm that ...