[MeshCore P3] M4 - Neo4j export to PATH_OBSERVED

Open
#375 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
neo4j, python
Domain
databases

Research direction

This is a Python Django project; the export lives beside the MeshCorePathEdgeBucket rollup model, and the Neo4j driver code is not yet in the payload. Read parent issue #267 and the existing MT ROUTED_TO export to see how node keys and MERGE are done. Done means an idempotent manage.py bulk export that writes PATH_OBSERVED edges with the listed properties, while the ROUTED_TO graph stays unchanged.

Written by the indexing model from the issue text.

Description

enhancement

Parent

Part of #267. Milestone M4.

Goal

Graph backend for topology + centrality, isolated from Meshtastic traceroute.

Scope

  • Export MeshCorePathEdgeBucket → new PATH_OBSERVED relationship (separate from ROUTED_TO) with protocol, evidence, weight, resolved, bucket props.
  • Generalized node key (mc:<internal_id> / mc_hash:<size>:<hash>); do not reuse the MT integer node_id.
  • Async + idempotent from rollups only (never per-observation); manage.py bulk export.

Acceptance criteria

  • Re-export is idempotent (MERGE on stable key).
  • MT ROUTED_TO graph + heatmap untouched.

Decisions (locked)

  • New PATH_OBSERVED relationship type.
Dominant language
Python
Stars
1
Forks
0
Avg merge
1d 20h
Merged PRs (30d)
5

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pskillen/meshflow-api

All issues in pskillen/meshflow-api

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.