diff --git a/src/views/graphView.ts b/src/views/graphView.ts index 8c2817b..df41ec1 100644 --- a/src/views/graphView.ts +++ b/src/views/graphView.ts @@ -33,14 +33,14 @@ export class GraphView { WHERE n:Repository OR n:File OR n:Contributor OR n:Dependency RETURN id(n) as id, labels(n)[0] as label, coalesce(n.name, n.fullName, n.path, n.email) as name - LIMIT 200 + LIMIT 100 `); const edges = await this.neo4j.executeQuery(` MATCH (a)-[r]->(b) WHERE (a:Repository OR a:File OR a:Contributor OR a:Dependency) AND (b:Repository OR b:File OR b:Contributor OR b:Dependency) RETURN id(a) as src, id(b) as tgt, type(r) as rel - LIMIT 500 + LIMIT 400 `); this.panel?.webview.postMessage({ command: 'graphData', @@ -69,7 +69,7 @@ export class GraphView { MATCH (r:Repository {fullName: $repo})-[rel]-(n) RETURN id(n) as id, labels(n)[0] as label, coalesce(n.name, n.fullName, n.path, n.email) as name - LIMIT 150 + LIMIT 100 `, { repo: msg.repo }); const repoNode = await this.neo4j.executeQuery(` MATCH (r:Repository {fullName: $repo})