I'm a UI designer who's been tasked with prototyping a feature that will allow users to display the connectivity of components in a CAD diagram. Normally I'd just sketch this out but I thought I'd try and do a live demo.
I'm using Daniel Davis' graph visualisation
http://www.nzarchitecture.com/blog/index.php/2010/05/03/graph-visualisation-in-processing/
which generates the map nodes from a text file in the format
a, b, b, b
a
b
//where each row represents one node in the graph
//a is the name of the node
//b is the name of the nodes that are outputs for the node
What I'd like to do now is insert images in place of text in the nodes, I'm very slowly wrapping my head around how to do this but not making as much progress as I need to. I'd appreciate some pointers on how to map the image datatype in to the string 'graph.txt' data (if that even makes any sense.
http://www.openprocessing.org/visuals/?visualID=9379
Thanks in advance /pauric
I'm using Daniel Davis' graph visualisation
http://www.nzarchitecture.com/blog/index.php/2010/05/03/graph-visualisation-in-processing/
which generates the map nodes from a text file in the format
a, b, b, b
a
b
//where each row represents one node in the graph
//a is the name of the node
//b is the name of the nodes that are outputs for the node
What I'd like to do now is insert images in place of text in the nodes, I'm very slowly wrapping my head around how to do this but not making as much progress as I need to. I'd appreciate some pointers on how to map the image datatype in to the string 'graph.txt' data (if that even makes any sense.
http://www.openprocessing.org/visuals/?visualID=9379
Thanks in advance /pauric
1
