Added data-cluster-id to streamgraph
authorraph
Fri, 12 Apr 2013 15:37:38 +0200
changeset 29 5e0e0884b03a
parent 28 10a958322a62
child 30 719aed020d05
Added data-cluster-id to streamgraph
.project
integration/js/streamgraph.js
--- a/.project	Tue Jan 29 13:29:21 2013 +0100
+++ b/.project	Fri Apr 12 15:37:38 2013 +0200
@@ -5,7 +5,13 @@
 	<projects>
 	</projects>
 	<buildSpec>
+		<buildCommand>
+			<name>com.aptana.ide.core.unifiedBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
 	</buildSpec>
 	<natures>
+		<nature>com.aptana.projects.webnature</nature>
 	</natures>
 </projectDescription>
--- a/integration/js/streamgraph.js	Tue Jan 29 13:29:21 2013 +0100
+++ b/integration/js/streamgraph.js	Fri Apr 12 15:37:38 2013 +0200
@@ -169,6 +169,7 @@
         }).mouseout(function() {
             $("body").trigger("unselect-cluster", line.id);
         });
+        $(line.mousesurface.node).attr("data-cluster-id", line.id).parent().attr("data-cluster-id", line.id);
     });
     
     $("body").on("unselect-cluster", function(e, clusterid) {