Skip to content

Commit

Permalink
add comments in files
Browse files Browse the repository at this point in the history
  • Loading branch information
bricaud committed Jul 9, 2017
1 parent cac3264 commit a3aee55
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 155 deletions.
25 changes: 17 additions & 8 deletions scripts/graphShapes.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
/*
Copyright 2017 Benjamin RICAUD
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

// Module for setting the shape and actions of the nodes and edges.

var graphShapes = (function(){
"use strict";

//var default_node_size = graphConf.default_node_size;
//var default_stroke_width = graphConf.default_stroke_width;
//var default_node_color = graphConf.default_node_color;
//var active_node_width = graphConf.active_node_width;

//var default_edge_stroke_width = graphConf.default_edge_stroke_width;
//var default_edge_color = graphConf.default_edge_color;
//var edge_label_color = graphConf.edge_label_color;
var color_palette = d3.scaleOrdinal(d3.schemeCategory20);
var colored_prop = "none";
var node_code_color = [];
Expand Down
18 changes: 18 additions & 0 deletions scripts/graph_viz.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
Copyright 2017 Benjamin RICAUD
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

// Main module. Handle the viualization, display data and layers.

var graph_viz = (function(){
"use strict";

Expand Down
17 changes: 17 additions & 0 deletions scripts/graphioGremlin.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Copyright 2017 Benjamin RICAUD
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

// Interface between the visualization and the Gremlin server.

var graphioGremlin = (function(){
"use strict";
Expand Down
147 changes: 0 additions & 147 deletions scripts/graphioNeo4j.js

This file was deleted.

0 comments on commit a3aee55

Please sign in to comment.