-
Notifications
You must be signed in to change notification settings - Fork 1
Updated README.md #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
anbcodes
wants to merge
26
commits into
Kitware:master
Choose a base branch
from
anbcodes:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
ac780f9
Create README.md
jeffbaumes 5cc65b3
Enable control of forces
jeffbaumes 7ab2326
Add edge visibility
jeffbaumes c406709
Upload JSON
jeffbaumes af02c0f
Send full graph from worker
jeffbaumes c27d842
Add gh-pages
jeffbaumes 8bd9212
Merge pull request #1 from Kitware/add-gh-pages
jeffbaumes b0d2aa5
Add vue
jeffbaumes 2a02fe8
Vuetify
jeffbaumes 7b6b800
Merge pull request #2 from Kitware/vue
jeffbaumes c87c48f
Remove lingering ui reference that breaks build
jeffbaumes 4ea1def
Merge pull request #3 from Kitware/remove-nouislider
jeffbaumes a20ace9
Improving UI layout
jeffbaumes dda8199
Merge pull request #4 from Kitware/ui-layout
jeffbaumes b47c16d
Adding x, y, radial forces
jeffbaumes d29f505
Merge pull request #5 from Kitware/more-forces
jeffbaumes 43c1319
Add simple neighbor highlighting and load graph from URL
jeffbaumes 15963a0
Merge pull request #6 from Kitware/neighbor-highlight-and-url-param
jeffbaumes 56f2c7e
Remove circular reference that broke json serialization
jeffbaumes 92c1ed3
Merge pull request #7 from Kitware/remove-circular-ref
jeffbaumes ef22f53
Updated README.md
anbcodes 3a8a4a1
Added a Node List to README
anbcodes d43ae19
Invert y axis, enable fixed sized nodes
jeffbaumes ee20daf
Merge pull request #9 from Kitware/invert-y
jeffbaumes e65aba8
Merge branch 'master' of https://github.com/Kitware/layoutr
anbcodes 298bc18
Merge branch 'master' of https://github.com/anbcodes/layoutr
anbcodes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Layoutr | ||
A graph layout web application | ||
|
||
## Installation | ||
|
||
After a git checkout, run the following to serve the application locally: | ||
|
||
``` | ||
npm i | ||
npm run serve | ||
``` | ||
|
||
## Usage | ||
|
||
* Click "UPLOAD CSV OR JSON" to upload a file of the form: | ||
``` | ||
source,target | ||
a,b | ||
b,c | ||
c,d | ||
d,a | ||
``` | ||
for CSV and | ||
``` | ||
{ | ||
"nodes": [ | ||
{ "id": "a" }, | ||
{ "id": "b" }, | ||
{ "id": "c" }, | ||
{ "id": "d" } | ||
], | ||
"edges": [ | ||
{ | ||
"source": "a", | ||
"target": "b" | ||
}, | ||
{ | ||
"source": "b", | ||
"target": "c" | ||
}, | ||
{ | ||
"source": "c", | ||
"target": "d" | ||
}, | ||
{ | ||
"source": "d", | ||
"target": "a" | ||
} | ||
] | ||
} | ||
``` | ||
for JSON | ||
|
||
* Click "Start Layout". | ||
* Play with the controls! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,10 @@ | ||
<html> | ||
<head> | ||
<title>Layoutr</title> | ||
<link href='https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons' rel="stylesheet"> | ||
</head> | ||
<body> | ||
<ul id="slide-out" class="sidenav sidenav-fixed"> | ||
<li> | ||
<a id="init-upload-edge-list" class="waves-effect waves-light btn blue">Upload Edge List CSV</a> | ||
<a id="toggle-start" class="waves-effect waves-light btn blue">Start Layout</a> | ||
<input id="upload-edge-list" type="file" style="display:none"></input> | ||
<div class="slider-wrapper"> | ||
<span class="slider-label">Theta</span> | ||
<div id="theta"></div> | ||
</div> | ||
<div class="slider-wrapper"> | ||
<span class="slider-label">Alpha</span> | ||
<div id="alpha"></div> | ||
</div> | ||
<div class="slider-wrapper"> | ||
<span class="slider-label">Radius Factor</span> | ||
<div id="radius-factor"></div> | ||
</div> | ||
<a id="save" class="waves-effect waves-light btn blue">Download JSON</a> | ||
</li> | ||
</ul> | ||
<div id="map"></div> | ||
<a id="download" style="display:none"></a> | ||
<div id="app"></div> | ||
<script src="bundle.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.