Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from Patent2net/4.0.0-dev2
4.0.0 dev2
- Loading branch information
Showing
223 changed files
with
88,735 additions
and
41 deletions.
There are no files selected for viewing
This file contains 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,17 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
# Custom for Visual Studio | ||
*.cs diff=csharp | ||
|
||
# Standard to msysgit | ||
*.doc diff=astextplain | ||
*.DOC diff=astextplain | ||
*.docx diff=astextplain | ||
*.DOCX diff=astextplain | ||
*.dot diff=astextplain | ||
*.DOT diff=astextplain | ||
*.pdf diff=astextplain | ||
*.PDF diff=astextplain | ||
*.rtf diff=astextplain | ||
*.RTF diff=astextplain |
This file contains 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,53 @@ | ||
node_modules/* | ||
bower_components/* | ||
|
||
# Windows image file caches | ||
Thumbs.db | ||
ehthumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Windows Installer files | ||
*.cab | ||
*.msi | ||
*.msm | ||
*.msp | ||
|
||
# Windows shortcuts | ||
*.lnk | ||
|
||
# ========================= | ||
# Operating System Files | ||
# ========================= | ||
|
||
# OSX | ||
# ========================= | ||
|
||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear in the root of a volume | ||
.DocumentRevisions-V100 | ||
.fseventsd | ||
.Spotlight-V100 | ||
.TemporaryItems | ||
.Trashes | ||
.VolumeIcon.icns | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
|
||
# Bundled JS | ||
package-lock.json |
This file contains 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,30 @@ | ||
# Graph Recipes | ||
|
||
A small static website in Angular to tinker with networks, based on Graphology. | ||
|
||
## Install | ||
|
||
### Install the dependencies & build the code | ||
|
||
``` | ||
# This will install the deps & build the code for production | ||
npm install | ||
# To rebuild the code manually | ||
npm run build | ||
``` | ||
|
||
### Dev commands | ||
|
||
``` | ||
# Just watch the files & retranspile (e.g. when serving app with Apache) | ||
npm run watch | ||
# Watch the files & serve the application on localhost:3000 | ||
npm run dev | ||
``` | ||
|
||
## Usage | ||
The website is in the app folder. Browse, upload a GEXF network, pick a script (they are called "recipes") and execute it. | ||
|
||
The scripts do a number of things: compute statistics, give informations, draw images, and more. |
This file contains 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,183 @@ | ||
#sidecol { | ||
width: 300px; | ||
} | ||
|
||
.command-zone { | ||
font-family: 'Raleway', sans-serif; | ||
overflow-y: auto; | ||
} | ||
|
||
.network-info { | ||
padding: 12px; | ||
} | ||
|
||
.content { | ||
overflow-y: auto; | ||
overflow-x: hidden; | ||
} | ||
|
||
.fancy-text { | ||
font-family: 'Raleway', sans-serif; | ||
font-size: 1.2em; | ||
color: #534b45; | ||
background-color: #EDE9E2; | ||
} | ||
|
||
.fancy-text .main-title { | ||
font-family: 'Lobster', cursive; | ||
font-weight: 400; | ||
font-size: 2.6em; | ||
margin-top: 0; | ||
margin-bottom: 12px; | ||
} | ||
|
||
h1 .subtitle { | ||
font-family: 'Raleway', cursive; | ||
font-weight: 300; | ||
font-size: 0.6em; | ||
display: block; | ||
} | ||
|
||
/* Links */ | ||
a { | ||
transition: color .4s; | ||
color: #53aaea; | ||
text-decoration: none; | ||
} | ||
|
||
a:link, | ||
a:visited { color: #53aaea; } | ||
a:hover { color: #7FDBFF; } | ||
a:active { | ||
transition: color .3s; | ||
color: #007BE6; | ||
} | ||
|
||
/* Menu items */ | ||
.menu-container { | ||
overflow-y: auto; | ||
} | ||
.menu-item { | ||
cursor: pointer; | ||
} | ||
.menu-item:hover { | ||
background-color: #dbedf0; | ||
} | ||
.menu-item h3 { | ||
font-family: 'Lobster', cursive; | ||
font-weight: 400; | ||
font-size: 1.4em; | ||
margin: 0; | ||
} | ||
.menu-item p { | ||
margin: 0; | ||
} | ||
|
||
h3.script-title { | ||
font-family: 'Lobster', cursive; | ||
font-weight: 400; | ||
font-size: 1.4em; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
/* Uploader */ | ||
.upload-background { | ||
background-color: #7595af; | ||
} | ||
.upload-area-container{ | ||
user-select: none; | ||
outline: none; | ||
cursor: pointer; | ||
} | ||
.upload-area-container .upload-area{ | ||
background-color: #FFFFFF; | ||
box-sizing: border-box; | ||
width: 100%; | ||
height: 100%; | ||
border-radius: 2px; | ||
box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.3); | ||
|
||
-webkit-transition: background-color .2s; | ||
transition: background-color .2s; | ||
} | ||
.upload-area-container:hover .upload-area, .upload-area-container.over .upload-area{ | ||
background-color: #53aaea; | ||
} | ||
.upload-area-container.loading .upload-area{ | ||
background-color: #46b8da; | ||
} | ||
.upload-area-container.success .upload-area{ | ||
background-color: #5cb85c; | ||
} | ||
.upload-area-container.error .upload-area{ | ||
background-color: #FF0000; | ||
} | ||
.upload-text-main{ | ||
font-family: 'Raleway', sans-serif; | ||
font-size: 28px; | ||
} | ||
.upload-area-container:hover .upload-text-main, | ||
.upload-area-container.over .upload-text-main, | ||
.upload-area-container.loading .upload-text-main, | ||
.upload-area-container.success .upload-text-main | ||
{ | ||
color: #FFF; | ||
} | ||
.upload-text-sub{ | ||
font-family: 'Raleway', sans-serif; | ||
color: #AAA; | ||
font-size: 16px; | ||
} | ||
.upload-area-container:hover .upload-text-sub, | ||
.upload-area-container.over .upload-text-sub | ||
{ | ||
color: #FFF; | ||
} | ||
.upload-area-container.loading .upload-text-sub, | ||
.upload-area-container.success .upload-text-sub | ||
{ | ||
display: none; | ||
} | ||
|
||
.upload-info { | ||
position: absolute; | ||
top: 12px; | ||
left: 12px; | ||
bottom: 12px; | ||
right: 12px; | ||
color: #A28D8D; | ||
} | ||
|
||
.upload-info img { | ||
opacity: 0.5; | ||
} | ||
|
||
.upload-info h1 { | ||
font-size: 3.2em; | ||
font-weight: 200; | ||
margin-top: 0px; | ||
margin-bottom: 3px; | ||
} | ||
|
||
/* JS editor */ | ||
#js-editor-container { | ||
overflow: hidden; | ||
} | ||
.shortcut-info { | ||
font-size: 0.8em; | ||
opacity: 0.6; | ||
} | ||
.exec-button-row { | ||
padding-bottom: 6px; | ||
} | ||
|
||
/* Playground */ | ||
#playground { | ||
background-color: #FFF; | ||
overflow: auto; | ||
} | ||
#dummy-font-div { | ||
/* Load the fonts we plan to use in the canvas */ | ||
font-family: 'Open Sans Condensed', sans-serif; | ||
} |
Oops, something went wrong.