23 questions
0
votes
1
answer
59
views
How to find a shortest path between two nodes that contains a given list of nodes in cypher/memgraph
In my memgraph database I want to find the shortest path between to nodes (source) and (dest). As a further constraint I have a list of nodes [(t_1), (t_2), ...] which must also be traversed by the ...
0
votes
1
answer
75
views
SETting node properties based on related node attributes in Memgraph
In my memgraph database, I have nodes that are in a composite relationship. Hence there is one node (:Center) that -[:contains]-> one or more (:Component) nodes. I now want to SET one property for ...
0
votes
0
answers
37
views
memGraph Lab Collections
In memgrap LAB, I lose all my saved requests in collections when I log out.
What should I do?
I have tried exporting all my queries through the export collection feature. However, the import cannot be ...
0
votes
1
answer
49
views
How can I show an edge's label only if it is highlighted or clicked in Memgraph's Graph Style Script?
I am working with the examples in Memgraph showing a simple social relationships graph. It has people (nodes) and the relationships between them (edges). Each edge is labelled with the type of the ...
0
votes
1
answer
143
views
Showing edge relationships by default in memgraph
I am trying to display my graph as a whole in memgraph through query - MATCH (n)-[r]->(m) RETURN n, r, m but turns out this does return nodes and edges connected between them but does not show what ...
1
vote
1
answer
79
views
support for strong consistency in memgraph
Does memgraph's Java client support strong consistency? I know that neo4j supports a variation called bookmarks. Does memgraph also support this? I looked at the memgraph documentation and could not ...
1
vote
1
answer
86
views
Memgraph Stream Cannot resolve conflicting transactions
I am using a locally hosted Memgraph instance and streaming CDC data from a postgres through Kafka Connect and Kafka. I have been experiencing a transaction error recently, and I haven't found a ...
2
votes
1
answer
60
views
Data Ingestion Is Slow in MemgraphLab from Kafka
I am using Memgraph Lab with Docker on a EC2 instance. I am ingesting data from Kafka. I have realised that the lag is very high.I want to decrease it as much as possible.
I tried to run the below ...
1
vote
1
answer
172
views
I want to expand all the nodes connected to a node in Memgraph using Memgraph Cypher
Basically, just like in networkx where you get all connected_components to a node, I want to replicate that in Memgeraph.
So basically if i have a node with a specific label ( lets say node named ...
0
votes
1
answer
70
views
Querying for parallel edges in memgraph
starting with memgraph so it might be obvious, but struggling to find the right query to find nodes with a number of parallel connections to another.
For my use case I'm representing network devices ...
0
votes
1
answer
69
views
Memgraph trigger which only acts upon one relationship
How can I create a trigger which will automatically create a distance property on the USES relationship only? The following trigger throws an error during the CREATE statement.
create trigger ...
0
votes
2
answers
529
views
Memgraph Broker Transport Failure registering Kafka Stream Consumer
I started Memgraph with the Confluent Kafka Platform according to the docker-compose.yml file. After that, I created a Kafka Topic called myTopic, to which the data is streamed. Now I want to ...
0
votes
1
answer
41
views
MemgraphDB: Why is the different line used in query result?
My first query is MATCH path=(s1:Station {name: "Uhlandstraße"})-[:CONNECTED_VIA *WSHORTEST (r, n | r.time)]-(s2:Station {name: "Kurfürstenstraße"}) RETURN path; and second one is ...
0
votes
1
answer
52
views
How to assign unique SVG images to nodes based on labels in Memgraph Lab?
I need each type of node in a Memgraph Lab graph to have its own specific SVG image. For instance, nodes labeled as 'person' should display 'image1.png', and those labeled as 'place' should use '...
1
vote
2
answers
102
views
Continuous Query Evaluation with Memgraph
I am looking for a way to evalute continuous queries with memgraph. My goal is to write an application, that notifies a user as soon as an event occurs (e.g. a specific pattern is found). The ...
2
votes
1
answer
87
views
Can I calculate the distance between nodes that have longitude and latitude?
I will expand the dataset of capital cities that I have with longitude and latitude for each city. After that I would like to calculate the distance in kilometers between cities, or to calculate the ...
0
votes
1
answer
230
views
Error during instalation of MAGE on Ubuntu
I run Ubuntu version of Memgraph on AWS. I use Memgraph 2.0.12. I want to add MAGE alogirths to it. Here is a seuence of my commands. What is this mg_exceptions.hpp that seem to be missing?
ubuntu@ip-...
2
votes
1
answer
301
views
Memgraph very slow query when using neo4j java driver
My setup:
1.) memgraph in a docker image locally with 500k nodes inserted
2.) I have a query with in clause in java using neo4j driver like
MATCH (n:SomeNode) where n.compoundKey in $ids RETURN n
...
1
vote
1
answer
42
views
Can I set the map style in Memgraph Lab using GSS?
Is there a way to use GSS code to force certain map type as background? I didn't find anything related to map styles in Graph Style Script language specification.
When I open Memgraph Lab I can ...
1
vote
1
answer
42
views
Map flickers during zoom in Memgraph Lab
My query is
MATCH p = (paris:City { name: "Paris" })-[e * bfs .. 2]->(:City)
RETURN p;
but I don't think that it is important for this question. When I zoom map is shown and then goes ...
1
vote
1
answer
68
views
What is transaction behavior in Memgraph sync replication mode
I don't understand behavior when a replica is unable to confirm a transaction or experiences a timeout.
I understand that a replicationException error is thrown in such scenarios, but I'm uncertain ...
2
votes
1
answer
165
views
Issues with setting configurations in Memgraph Docker compose
I'm setting up a Memgraph Platform instance using Docker Compose. Here is my docker-compose.yml file:
version: "3"
services:
memgraph-platform:
image: "memgraph/memgraph-platform&...
2
votes
2
answers
64
views
How can I list only nodes that were not found using Cypher?
I have a list of capital cities. I want to see if I have all of them. How can I see which cities I don't have inside? My query looks like this at the moment:
OPTIONAL MATCH (n:Captial {name: 'London'})...