18 lines
356 B
Dart
18 lines
356 B
Dart
import 'src/graph.dart';
|
|
|
|
void main(List<String> arguments) {
|
|
Map<int, int> x = <int, int>{};
|
|
x[1] = 5;
|
|
x[2] = 10;
|
|
var p = Dot.fromMap("Точка 1", 1, x);
|
|
p.addPath(3, 20);
|
|
var x1 = Graphs([p], true);
|
|
x1.printG();
|
|
p.delPath(4);
|
|
x1.printG();
|
|
/*var p2 = Dot("Точка 2", 2, x);
|
|
x1.addDot(p2);
|
|
x1.printG();
|
|
x1.checkDots();*/
|
|
}
|