mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-06-16 22:01:00 +00:00
Add creating graph using Edge List.
This commit is contained in:
@@ -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 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<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';
|
||||
?>
|
||||
@@ -251,4 +251,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";
|
||||
?>
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
$g_lang["menu_8"] = "Nachrichten";
|
||||
$g_lang["menu_9"] = "anhand dem Beispielgraph";
|
||||
$g_lang["menu_10"] = "anhand eines Diagrammbeispiels";
|
||||
$g_lang["menu_11"] = "Using edge list";
|
||||
$g_lang["footer_info"] = "Graph Online ist ein online Projekt, der sich auf Erstellen und einfache Visualisierung des Graphes und kürzesten Pfad-Suche richtet. Außerdem, können Sie einen Graph via Adjazenzmatrix erstellen. ";
|
||||
$g_lang["lang"] = "Sprache";
|
||||
$g_lang["home_notg"] = "Home";
|
||||
|
||||
Reference in New Issue
Block a user