mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-12 07:45:14 -05:00
Restructuring the Repo to make it clear the difference between classic autogpt and the autogpt platform: * Move the "classic" projects `autogpt`, `forge`, `frontend`, and `benchmark` into a `classic` folder * Also rename `autogpt` to `original_autogpt` for absolute clarity * Rename `rnd/` to `autogpt_platform/` * `rnd/autogpt_builder` -> `autogpt_platform/frontend` * `rnd/autogpt_server` -> `autogpt_platform/backend` * Adjust any paths accordingly
24 lines
492 B
Dart
24 lines
492 B
Dart
class SkillTreeEdge {
|
|
final String id;
|
|
final String from;
|
|
final String to;
|
|
final String arrows;
|
|
|
|
SkillTreeEdge({
|
|
required this.id,
|
|
required this.from,
|
|
required this.to,
|
|
required this.arrows,
|
|
});
|
|
|
|
// Optionally, add a factory constructor to initialize from JSON
|
|
factory SkillTreeEdge.fromJson(Map<String, dynamic> json) {
|
|
return SkillTreeEdge(
|
|
id: json['id'],
|
|
from: json['from'],
|
|
to: json['to'],
|
|
arrows: json['arrows'],
|
|
);
|
|
}
|
|
}
|