Add creating graph using Edge List.

This commit is contained in:
Oleg Sh
2022-09-18 13:19:53 +02:00
parent b3838b70ca
commit 4b82685aaa
40 changed files with 644 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
<?php
$g_lang['head_no_tags'] = 'Creating graph by Edge List';
$g_lang['text'] = '<p>On this page you can enter&nbsp;edge list and plot graph</p>';
$g_lang['pair_description'] = 'Enter edge list. Each edge should be placed on a new line. Use "<b>-</b>" as separator between vertices. E.g. <b>1-2</b>. <small>Read about extended format below.</small>';
$g_lang['plot_graph_button'] = 'Plot graph';
$g_lang['pair_bad_format'] = 'Edge list format is incorrect. Format of edge should be like: vertex1-vertex2. <small>Read about extension format below.</small>';
$g_lang['ex_pair_format'] = "Extended format";
$g_lang['ex_pair_forma_description'] ="Using extended format you may set up directed and weighted edges. Разные варианты использования:
<ul>
<li><b>a-b</b> - edge between <b>a</b> and <b>b</b>.</li>
<li><b>a>b</b> - directed edge from <b>a</b> to <b>b</b>.</li>
<li><b>a&lt;b</b> - directed edge from <b>a</b> to <b>b</b>. </li>
<li><b>a-(8)-b</b> - weighted edge between <b>a</b> and <b>b</b> with weigth <b>8</b>.</li>
<li><b>a-(3.5)>b</b> - directed edge from <b>a</b> to <b>b</b> with weight <b>3.5</b>.</li>
<li><b>a<(1)-b</b> - directed edge from <b>b</b> to <b>a</b> with weight <b>1</b>.</li>
</ul>";
$g_lang['edge_list'] = 'Edge List';
?>

View File

@@ -289,4 +289,8 @@
$g_lang['make_all_directed'] = "Make all edges directed";
$g_lang['save_svg_image'] = "Save graph to SVG";
$g_lang["bad_inc_pair_message"] = "Cannot create graph. Edge list has wrong format. Click \"fix\" button to fix edge list or \"help\" button to open help about format";
$g_lang["edge_list_wrong_format"] = "Edge list format is incorrect";
$g_lang["fix_button"] = "fix";
?>

View File

@@ -10,6 +10,7 @@
$g_lang["menu_8"] = "Νέα";
$g_lang["menu_9"] = "Από παραδείγματα γράφων";
$g_lang["menu_10"] = "Ανοιχτό λογισμικό";
$g_lang["menu_11"] = "Using edge list";
$g_lang["footer_info"] = "
<a href=\"/en/\">Το Graph Online</a>
είναι ενα online πρότζεκτ με στόχο την εύκολη δημιουργία και απεικόνιση γράφων.