node/lib/metasm/metasm/gui/dasm_graph.rb
# link the two boxes (by id)
link the two boxes (by id)
link the two boxes ( by id )
def link_boxes(id1, id2)
		raise "unknown index 1 #{id1}" if not b1 = @box_id[id1]
		raise "unknown index 2 #{id2}" if not b2 = @box_id[id2]
		b1.to   |= [b2]
		b2.from |= [b1]
	end
def link_boxes ( id1 , id2 ) raise "unknown index 1 #{id1}" if not b1 = @box_id [ id1 ] raise "unknown index 2 #{id2}" if not b2 = @box_id [ id2 ] b1 . to |= [ b2 ] b2 . from |= [ b1 ] end
link the two boxes (by id)
link the two boxes ( by id )
id1
id2