- usage of a new format of GraphNode to manipulate in front and back:
⚠️ Make sure you run make migrate-prod if you want to keep your existing neo4j data (or make migrate-dev in dev mode) after pulling those changes, so that the migration can parse those in the right format.
export type GraphNode = {
id: string
nodeType: string
nodeLabel: string
nodeProperties: NodeProperties // Domain, Ip, Individual...
nodeSize: number
nodeColor: string | null
nodeIcon: keyof typeof LucideIcons | null
nodeImage: string | null
nodeFlag: flagColor | null
nodeShape: NodeShape // circle, hexagonal, square, triangle
nodeMetadata: NodeMetadata
x: number
y: number
val?: number
neighbors?: any[]
links?: any[]
}And proper way to store them in neo4j.
- proper way and usage of
GraphService,GraphRepositoryandGraphSerializer. Previous implementation was shady.
What's Changed
- feat: big codebase refactor + new node display features by @dextmorgn in #111
Full Changelog: v1.1.0...v1.2.0