//
//  ArcDiagramController.h
//  Arcs
//
//  Created by the cell on 6/10/07.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#import "MatchingPair.h"
#import "RepetitionRegion.h"
#import "Arc.h"
#import "ArcDiagramView.h"

@interface ArcDiagramController : NSObject
{
	ArcDiagramView *arcDiagramView;
	NSString *superString;
	NSRect superStringRect;
	NSArray *essentialMatchingPairs;
	NSArray *arcs;
	NSMutableSet *arcDiagrams;
	
	NSMutableDictionary *attributes;
}

- (id)initWithView:(ArcDiagramView *)aArcDiagramView;
- (void)setEssentialMatchingPairs:(NSArray *)someEssentialMatchingPairs;
- (void)setSuperString:(NSString *)aString;
- (void)prepareSuperStringAttributes;

- (void)calculateArcs;
- (void)renderView;

@end
