1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

rogueviz:: graphs:: improved RogueViz Graphs docs

This commit is contained in:
Zeno Rogue 2024-08-01 11:50:16 +02:00
parent 51834eb1da
commit 168016287d

View File

@ -1,21 +1,11 @@
// Hyperbolic Rogue // Hyperbolic Rogue
// Copyright (C) 2011-2016 Zeno Rogue, see 'hyper.cpp' for details // Copyright (C) 2011-2016 Zeno Rogue, see 'hyper.cpp' for details
// Hyperbolic geometry is a good tool to visualize data, // Hyperbolic geometry is a good tool to visualize graphs,
// especially trees and scale-free networks. This file // especially trees and scale-free networks.
// uses HyperRogue to browse such vizualizations.
// Since it is not of use for general HyperRogue players, // This is the main file for such graph visualizations. It is used
// it is disabled by default -- compile with the ROGUEVIZ flag to enable this. // by SAG, SOM, DHRG, and some other modules.
// How to use:
// hyper -embed <start of filename> -- visualize a social network
// embedded into hyperbolic plane, see:
// https://bitbucket.org/HaiZhung/hyperbolic-embedder/overview
// (it uses the same format)
// hyper -tess <parameter file> -- visualize a horocyclic tesselation,
#include "rogueviz.h" #include "rogueviz.h"
@ -1156,7 +1146,7 @@ void showMenu() {
bool default_help() { bool default_help() {
help = help =
"This is RogueViz, a visualization engine based on HyperRogue.\n\nUse WASD to move, v for menu.\n\n" "This is RogueViz Graphs, a graph visualization engine based on HyperRogue.\n\nUse WASD to move, v for menu.\n\n"
"Read more about RogueViz on : http://roguetemple.com/z/hyper/rogueviz.php\n\n"; "Read more about RogueViz on : http://roguetemple.com/z/hyper/rogueviz.php\n\n";
help_extensions.push_back(help_extension{'u', XLAT("RogueViz menu"), [] () { popScreen(); pushScreen(showMenu); }}); help_extensions.push_back(help_extension{'u', XLAT("RogueViz menu"), [] () { popScreen(); pushScreen(showMenu); }});