関係に重みをつける方法[Py2neo][Neo4j]

from py2neo import Graphfrom py2neo import Node, Relationshipuser = 'neo4j'pwd = 'neo4j'graph = Graph(auth=(user, pwd)) ...
Neo4jでグラフを一括削除する便利なコマンド[Neo4j]

ノードとエッジを全て削除するときは下のコマンドを打つ。
MATCH (n) OPTIONAL MATCH (n)--() DELETE n,rちなみにノードとエッジを出現させるときには下のコマンド。
MATCH (n ...pythonでグラフデータベースを構築[Python][GraphDataBase][Neo4j]

本記事では、グラフデータベースNeo4jを用いて、簡単なグラフをpythonで記述する方法を紹介。
まずはNeo4jのインストールから済ませよう
vastee.hatenablog.com
Neo4 ...
Ubuntu16.04にNeo4jをインストールして動かすまで

Neo4j のインストール
リポジトリキーを取得し、aptリストに追加
$ wget --no-check-certificate -O - | sudo apt-key add -$ sudo apt-get update$ ...