Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Feature/add storm dot graph #236

Merged
merged 17 commits into from
Sep 22, 2013
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't hide the identity keyed producer in the viz graph
  • Loading branch information
ianoc committed Sep 21, 2013
commit 64b481c16878342c143dd69ec2d1d7f75592c61a
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ case class VizGraph[P <: Platform[P]](tail: Producer[P, _]) {
children.headOption match {
case Some(child: NamedProducer[_, _]) =>
recurseGetNode(child, Some(child.id))
case Some(child: IdentityKeyedProducer[_, _, _]) =>
recurseGetNode(child, Some(name))
case _ =>
(name, n, children)
}
Expand All @@ -60,7 +58,6 @@ case class VizGraph[P <: Platform[P]](tail: Producer[P, _]) {
val (graphStr, _) = dependantState.nodes.foldLeft(("", emptyNameLookupTable)) { case ((runningStr, nameLookupTable), nextNode) =>
nextNode match {
case NamedProducer(parent, name) => (runningStr, nameLookupTable)
case IdentityKeyedProducer(_) => (runningStr, nameLookupTable)
case _ =>
// Compute the lines and new names for the nextNode
val (rawNodeName, evalNode, children) = recurseGetNode(nextNode)
Expand Down