├── .gitignore
├── config
├── prod.env.js
├── test.env.js
├── dev.env.js
└── index.js
├── .gitattributes
├── screenshots
├── 项目截图1.png
└── 项目截图2.png
├── src
├── components
│ ├── D3Visualization
│ │ ├── index.js
│ │ ├── constants.js
│ │ ├── lib
│ │ │ └── visualization
│ │ │ │ ├── utils
│ │ │ │ ├── arrays.coffee
│ │ │ │ ├── circularLayout.coffee
│ │ │ │ ├── angleList.coffee
│ │ │ │ ├── clickHandler.coffee
│ │ │ │ ├── textMeasurement.coffee
│ │ │ │ ├── adjacentAngles.coffee
│ │ │ │ ├── straightArrow.coffee
│ │ │ │ ├── loopArrow.coffee
│ │ │ │ ├── circumferentialDistribution.coffee
│ │ │ │ ├── circumferentialRelationshipRouting.coffee
│ │ │ │ ├── pairwiseArcsRelationshipRouting.coffee
│ │ │ │ └── arcArrow.coffee
│ │ │ │ ├── components
│ │ │ │ ├── renderer.coffee
│ │ │ │ ├── relationship.coffee
│ │ │ │ ├── node.coffee
│ │ │ │ ├── collision.coffee
│ │ │ │ ├── graphView.coffee
│ │ │ │ ├── layout.coffee
│ │ │ │ ├── graphGeometry.coffee
│ │ │ │ └── graph.coffee
│ │ │ │ ├── neod3.coffee
│ │ │ │ ├── index.js
│ │ │ │ └── renders
│ │ │ │ ├── menu.coffee
│ │ │ │ └── init.coffee
│ │ ├── services
│ │ │ ├── bolt
│ │ │ │ ├── updateStatisticsFields.js
│ │ │ │ ├── boltHelpers.js
│ │ │ │ └── boltMappings.js
│ │ │ ├── duckUtils.js
│ │ │ ├── exceptionMessages.js
│ │ │ ├── exceptions.js
│ │ │ └── utils.js
│ │ ├── components
│ │ │ ├── RowExpandToggle.vue
│ │ │ ├── Legend.vue
│ │ │ ├── Graph.vue
│ │ │ └── Inspector.vue
│ │ ├── mapper.js
│ │ ├── GraphEventHandler.js
│ │ └── Visualization.vue
│ └── Search.vue
├── index.js
├── App.vue
├── router
│ └── index.js
├── app.js
├── utils
│ └── index.js
└── views
│ ├── neo4j.vue
│ └── page
│ ├── AuthorKeywordSearch.vue
│ ├── CsvUpload.vue
│ ├── AuthorCoopratorSearch.vue
│ ├── AuthorArticleSearch.vue
│ ├── CoopratorArticleSearch.vue
│ ├── ArticleAuthorSearch.vue
│ └── AuthorSimilarSearch.vue
├── .babelrc
├── neo4j-vue.iml
├── oneapm.js
├── index.html
├── LICENSE
├── README.md
├── package.json
├── npm-debug.log
└── flex.md
/.gitignore:
--------------------------------------------------------------------------------
1 | /dist
2 | /.settings
3 | /.classpath
4 | /.project
5 | /node_modules
--------------------------------------------------------------------------------
/config/prod.env.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | NODE_ENV: '"production"'
3 | }
4 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
--------------------------------------------------------------------------------
/screenshots/项目截图1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chendaye/vue-neo4j/HEAD/screenshots/项目截图1.png
--------------------------------------------------------------------------------
/screenshots/项目截图2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chendaye/vue-neo4j/HEAD/screenshots/项目截图2.png
--------------------------------------------------------------------------------
/src/components/D3Visualization/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by chendaye666 on 17/7/31.
3 | */
4 |
5 | export Visualization from './Visualization'
--------------------------------------------------------------------------------
/config/test.env.js:
--------------------------------------------------------------------------------
1 | var merge = require('webpack-merge')
2 | var devEnv = require('./dev.env')
3 |
4 | module.exports = merge(devEnv, {
5 | NODE_ENV: '"testing"'
6 | })
7 |
--------------------------------------------------------------------------------
/config/dev.env.js:
--------------------------------------------------------------------------------
1 | var merge = require('webpack-merge')
2 | var prodEnv = require('./prod.env')
3 |
4 | module.exports = merge(prodEnv, {
5 | NODE_ENV: '"development"'
6 | })
7 |
--------------------------------------------------------------------------------
/src/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by chendaye666 on 17/8/5.
3 | */
4 | // require('../oneapm');
5 |
6 | import {
7 | app
8 | } from './app'
9 |
10 | app.$mount('#app')
--------------------------------------------------------------------------------
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | ["es2015", { "modules": false }],
4 | "stage-2"
5 | ],
6 | "plugins": [
7 | "transform-export-extensions",
8 | "transform-vue-jsx"
9 | ]
10 | }
11 |
--------------------------------------------------------------------------------
/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |