mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Additional custom map features (#15806)
* Added options on edges for a label and to show graphs as bps as well as percentages I think that vis.js needs to be updated to allow both bps and percentages at the same time. * Add database migration * Try to avoid putting multiple mid points in the same position * Added a URL parameter for screenshot mode, where node labels are blanked out Also fixed up the node labels in the editor * Added legend to the editor as well as database options for reversing arrows and adjusting the edge separation All features have been implemented in the editor, but need to be implemented in the viewer * Fix missing defaults on the edit map list page Added arrow reverse code to the viewer Added legend code to the viewer Added code to the editor to correclty handle moving the legend * Formatting fixes and DB schema update * Remove view from database schema
This commit is contained in:
@@ -36,6 +36,9 @@ return [
|
||||
'width' => 'Width',
|
||||
'height' => 'Height',
|
||||
'alignment' => 'Node Alignment',
|
||||
'edgeseparation' => 'Link Separation',
|
||||
'reverse' => 'Reverse Arrows',
|
||||
'enable_legend' => 'Enable Legend',
|
||||
'saving' => 'Saving...',
|
||||
'save_errors' => 'Save failed due to the following errors:',
|
||||
'save_error' => 'Save failed. Server returned error response code: :code',
|
||||
@@ -45,6 +48,12 @@ return [
|
||||
'edit' => 'Edit Map Settings',
|
||||
'rerender' => 'Re-Render Map',
|
||||
'save' => 'Save Map',
|
||||
'legend' => [
|
||||
'font_size' => 'Legend Text Size',
|
||||
'steps' => 'Legend Steps',
|
||||
'hideinvalid' => 'Hide Invalid',
|
||||
'hideoverspeed' => 'Hide 100%+',
|
||||
],
|
||||
],
|
||||
'node' => [
|
||||
'new' => 'New Node',
|
||||
@@ -126,6 +135,8 @@ return [
|
||||
'cubicBezier' => 'Cubic Bezier',
|
||||
],
|
||||
'show_usage_percent' => 'Show percent usage',
|
||||
'show_usage_bps' => 'Show bps usage',
|
||||
'label' => 'Label',
|
||||
'recenter' => 'Recenter Line',
|
||||
],
|
||||
'validate' => [
|
||||
|
Reference in New Issue
Block a user