mirror of
https://github.com/UnickSoft/graphonline.git
synced 2025-07-01 15:26:12 +00:00
45 lines
1.6 KiB
JavaScript
45 lines
1.6 KiB
JavaScript
{
|
|
function onloadEditor() {
|
|
console.log("onload() call");
|
|
doIncludeAsync ([
|
|
include ("shared/canvas2svg.js"),
|
|
include ("features/group_rename_handler/index.js"),
|
|
include ("features/saved_graph_handler/index.js"),
|
|
include ("features/saved_graph_image_handler/index.js"),
|
|
include ("features/show_adjacency_matrix/index.js"),
|
|
include ("features/show_distance_matrix/index.js"),
|
|
include ("features/show_incidence_matrix/index.js"),
|
|
include ("features/setup_background_style/index.js"),
|
|
include ("features/setup_edge_style/index.js"),
|
|
include ("features/setup_vertex_style/index.js"),
|
|
]);
|
|
preLoadPage();
|
|
postLoadPage();
|
|
}
|
|
|
|
let modulDir = "pages/editor/";
|
|
|
|
doInclude ([
|
|
include ("shared/utils.js"),
|
|
|
|
include ("entities/graph/api/index.js"),
|
|
include ("features/draw_graph/api/index.js"),
|
|
include ("features/algorithms/api/index.js"),
|
|
|
|
include ("features/base_handler/index.js"),
|
|
include ("features/default_handler/index.js"),
|
|
include ("features/add_vertices_handler/index.js"),
|
|
include ("features/connect_vertices_handler/index.js"),
|
|
include ("features/delete_objects_handler/index.js"),
|
|
include ("features/algorithm_handler/index.js"),
|
|
|
|
include ("features/serialization/api/index.js"),
|
|
|
|
include ("features/enum_vertices/EnumVertices.js"),
|
|
|
|
include ("model/texts.js", modulDir),
|
|
include ("model/Application.js", modulDir),
|
|
include ("ui/main.js", modulDir)],
|
|
onloadEditor);
|
|
|
|
} |