Skip to content

Commit

Permalink
license everything
Browse files Browse the repository at this point in the history
  • Loading branch information
huston committed Jun 18, 2014
1 parent e0e41e7 commit 4333044
Show file tree
Hide file tree
Showing 17 changed files with 269 additions and 1 deletion.
13 changes: 13 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
NOTICE
The software ("Software") developed and owned by GraphAlchemist, Inc. (referred to in this notice as "GraphAlchemist") is
licensed under the GNU AFFERO GENERAL PUBLIC LICENSE Version 3 to all
third parties and that license is included below.

However, if you have executed an End User Software License and Services
Agreement or an OEM Software License and Support Services Agreement, or
another commercial license agreement with GraphAlchemist or one of its
affiliates (each, a "Commercial Agreement"), the terms of the license in
such Commercial Agreement will supersede the GNU AFFERO GENERAL PUBLIC
LICENSE Version 3 and you may use the Software solely pursuant to the
terms of the relevant Commercial Agreement.

GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007

Expand Down
16 changes: 16 additions & 0 deletions app/scripts/alchemy/core/controls.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Alchemy.js is a graph drawing application for the web.
# Copyright (C) 2014 GraphAlchemist, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

alchemy.controlDash =
init: () ->
if conf.showControlDash is true
Expand Down
16 changes: 16 additions & 0 deletions app/scripts/alchemy/core/drawedges.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Alchemy.js is a graph drawing application for the web.
# Copyright (C) 2014 GraphAlchemist, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

alchemy.drawing.drawedges = (edge) ->
if conf.cluster
edgeStyle = (d) ->
Expand Down
17 changes: 16 additions & 1 deletion app/scripts/alchemy/core/drawnodes.coffee
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
#bind node data to d3
# Alchemy.js is a graph drawing application for the web.
# Copyright (C) 2014 GraphAlchemist, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

alchemy.drawing.drawnodes = (node) ->

nodeEnter = node.enter().append("g")
Expand Down
16 changes: 16 additions & 0 deletions app/scripts/alchemy/core/editor.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Alchemy.js is a graph drawing application for the web.
# Copyright (C) 2014 GraphAlchemist, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

# not working
if conf.removeNodes
node_filter_html = """
Expand Down
16 changes: 16 additions & 0 deletions app/scripts/alchemy/core/filters.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Alchemy.js is a graph drawing application for the web.
# Copyright (C) 2014 GraphAlchemist, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

fixNodesTags = (nodes, edges) ->
for n in nodes
allCaptions[n.label] = n.id
Expand Down
16 changes: 16 additions & 0 deletions app/scripts/alchemy/core/interactions.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Alchemy.js is a graph drawing application for the web.
# Copyright (C) 2014 GraphAlchemist, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

nodeDragStarted = (d, i) ->
d3.event.sourceEvent.stopPropagation()
d3.select(this).classed("dragging", true)
Expand Down
16 changes: 16 additions & 0 deletions app/scripts/alchemy/core/layout.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Alchemy.js is a graph drawing application for the web.
# Copyright (C) 2014 GraphAlchemist, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

alchemy.layout =
gravity: (k) ->
8 * k
Expand Down
16 changes: 16 additions & 0 deletions app/scripts/alchemy/core/search.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Alchemy.js is a graph drawing application for the web.
# Copyright (C) 2014 GraphAlchemist, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

# not working - but, logic here for search

#find node
Expand Down
16 changes: 16 additions & 0 deletions app/scripts/alchemy/core/startGraph.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Alchemy.js is a graph drawing application for the web.
# Copyright (C) 2014 GraphAlchemist, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

alchemy.startGraph = (data) ->
# see if data is ok
if not data
Expand Down
16 changes: 16 additions & 0 deletions app/scripts/alchemy/core/stats.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Alchemy.js is a graph drawing application for the web.
# Copyright (C) 2014 GraphAlchemist, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

alchemy.stats =
init: () ->
if conf.showStats is true
Expand Down
16 changes: 16 additions & 0 deletions app/scripts/alchemy/core/updateGraph.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Alchemy.js is a graph drawing application for the web.
# Copyright (C) 2014 GraphAlchemist, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

alchemy.updateGraph = (start=true) ->
hello = 0
#enter/exit nodes/edges
Expand Down
16 changes: 16 additions & 0 deletions app/scripts/alchemy/defaultConf.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Alchemy.js is a graph drawing application for the web.
# Copyright (C) 2014 GraphAlchemist, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

defaults =
# Helpers
afterLoad: 'drawingComplete'
Expand Down
16 changes: 16 additions & 0 deletions app/scripts/alchemy/end.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Alchemy.js is a graph drawing application for the web.
# Copyright (C) 2014 GraphAlchemist, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

alchemy.begin = () ->
if typeof alchemy.conf.dataSource == 'string'
d3.json(alchemy.conf.dataSource, alchemy.startGraph)
Expand Down
16 changes: 16 additions & 0 deletions app/scripts/alchemy/start.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Alchemy.js is a graph drawing application for the web.
# Copyright (C) 2014 GraphAlchemist, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

class Alchemy
constructor: (@conf) ->
@version = "0.1.0"
Expand Down
16 changes: 16 additions & 0 deletions app/scripts/alchemy/styles/styles.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Alchemy.js is a graph drawing application for the web.
# Copyright (C) 2014 GraphAlchemist, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

alchemy.styles =
getClusterColour: (index) ->
if conf.clusterColours[index]?
Expand Down
16 changes: 16 additions & 0 deletions app/scripts/alchemy/utils/utils.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Alchemy.js is a graph drawing application for the web.
# Copyright (C) 2014 GraphAlchemist, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

alchemy.utils =
#TODO
#not yet working
Expand Down

0 comments on commit 4333044

Please sign in to comment.