Skip to content
Graph docs0.5

Fraud detection graph

Latest stable Based on Graph release 0.5.1

This example combines transfer paths, cycles, and risk signals to explain why an account is suspicious. It uses TinkerGraph to isolate modeling from container and network variance. Read core model and TinkerPop first; use the selection guide before production.

  • Nodes: Account
  • Edges: TRANSFERRED_TO
  • Key properties: accountId, ownerName, riskTier, amount, occurredAt

Use JDK 21, commit 3e0fa7cb9e3bc70c2743aeebda2487f3e45e4907, and the checked-in wrapper. Examples are not published; run this release fixture as a Gradle project from the release source checkout. In a consumer application, select only bluetape4k-dependencies:<ecosystem-version> and add the required graph module without an individual version.

Terminal window
./gradlew :fraud-detection-examples:test --tests "io.bluetape4k.graph.examples.fraud.TinkerGraphFraudDetectionTest"

The test asserts that acct-bob is scored, the transfer cycle closes, and sink analysis reaches acct-sink. A failure usually indicates changed transfer direction, risk weighting, or cycle/depth limits rather than a Gradle-output problem.

  1. Schema
  2. Service
  3. Shared executable contract
  4. Concrete TinkerGraph test
  5. Build file

Continue from iam-access-graph, then read security-attack-path. Also see paired APIs, testing, and operations.

Add one result-changing edge and assertion; repeat through the suspend API; then run a persistent-backend concrete test serially. Add disconnected and malformed inputs as diagnostics. This fixture does not prove throughput, clustering, authorization, tenant isolation, migration, backup, remote-driver timeout, or index quality.

These diagrams are loaded directly from README assets published with the 0.5.1 release and pinned to its immutable commit. They describe this manual’s released structure and runtime flows, not later Snapshot changes. Select a preview to open the SVG at the same release commit.

fraud detection examples Architecture diagram

Section titled “fraud detection examples Architecture diagram”

fraud detection examples Architecture diagram

Release README: examples/fraud-detection-examples/README.md

Domain UML diagram

Release README: examples/fraud-detection-examples/README.md

Analysis Flow diagram

Release README: examples/fraud-detection-examples/README.md