New networkmaps in progress... (Added some visual changes)

This commit is contained in:
Arturo Gonzalez 2016-10-04 15:05:53 +02:00
parent 50bdad682d
commit 6354d92dbc
2 changed files with 6 additions and 9 deletions

View File

@ -1181,7 +1181,7 @@ if (empty($list_networkmaps))
$list_networkmaps = array(); $list_networkmaps = array();
?> ?>
<div id="dialog_node_edit" style="display: none;" title="<?php echo __('Edit node');?>"> <div id="dialog_node_edit" style="display: none; background-color: #e6e6e6;" title="<?php echo __('Edit node');?>">
<div style="text-align: left; width: 100%;"> <div style="text-align: left; width: 100%;">
<?php <?php
@ -1304,7 +1304,6 @@ if (empty($list_networkmaps))
$table->data['loading']['0'] = html_print_image( $table->data['loading']['0'] = html_print_image(
'images/wait.gif', true); 'images/wait.gif', true);
ui_toggle(html_print_table($table, true), __('Relations'), ui_toggle(html_print_table($table, true), __('Relations'),
__('Relations'), true); __('Relations'), true);
?> ?>

View File

@ -2132,7 +2132,6 @@ function init_graph(parameter_object) {
.attr("markerHeight", (node_radius / 2) + interface_radius) .attr("markerHeight", (node_radius / 2) + interface_radius)
.attr("orient", "auto") .attr("orient", "auto")
.append("circle") .append("circle")
//~ .attr("class", "link")
.attr("cx", (node_radius / 2) - (interface_radius / 2)) .attr("cx", (node_radius / 2) - (interface_radius / 2))
.attr("cy", interface_radius) .attr("cy", interface_radius)
.attr("r", interface_radius) .attr("r", interface_radius)
@ -2146,7 +2145,6 @@ function init_graph(parameter_object) {
.attr("markerHeight", (node_radius / 2) + interface_radius) .attr("markerHeight", (node_radius / 2) + interface_radius)
.attr("orient", "auto") .attr("orient", "auto")
.append("circle") .append("circle")
//~ .attr("class", "link")
.attr("cx", interface_radius) .attr("cx", interface_radius)
.attr("cy", interface_radius) .attr("cy", interface_radius)
.attr("r", interface_radius) .attr("r", interface_radius)
@ -2180,7 +2178,7 @@ function init_graph(parameter_object) {
networkmap_dimensions[0] + node_radius - holding_area_dimensions[0]) networkmap_dimensions[0] + node_radius - holding_area_dimensions[0])
.attr("y", .attr("y",
networkmap_dimensions[1] + node_radius - holding_area_dimensions[1]) networkmap_dimensions[1] + node_radius - holding_area_dimensions[1])
.attr("style", "fill: #efefef; " + .attr("style", "fill: #e6e6e6; " +
"fill-opacity: 0.75; " + "fill-opacity: 0.75; " +
"stroke: #dedede; " + "stroke: #dedede; " +
"stroke-width: 1; " + "stroke-width: 1; " +
@ -2203,7 +2201,7 @@ function init_graph(parameter_object) {
"fill: #000000; " + "fill: #000000; " +
"fill-opacity: 1; " + "fill-opacity: 1; " +
"stroke: none; " + "stroke: none; " +
"font-family: Sans") "font-family: Verdana")
.attr("x", networkmap_dimensions[0] + node_radius - holding_area_dimensions[0]) .attr("x", networkmap_dimensions[0] + node_radius - holding_area_dimensions[0])
.attr("y", networkmap_dimensions[1] + node_radius - holding_area_dimensions[1] - 10) .attr("y", networkmap_dimensions[1] + node_radius - holding_area_dimensions[1] - 10)
.text(holding_area_title); .text(holding_area_title);
@ -2237,10 +2235,10 @@ function init_graph(parameter_object) {
.attr("x", 0) .attr("x", 0)
.attr("y", 0) .attr("y", 0)
.attr("id", "selection_rectangle") .attr("id", "selection_rectangle")
.attr("style", "display: none; fill:#000096; " + .attr("style", "display: none; fill:#e6e6e6; " +
"fill-opacity:0.46153846; " + "fill-opacity:0.46153846; " +
"stroke:#000096; " + "stroke:#e6e6e6; " +
"stroke-width:3; " + "stroke-width:1; " +
"stroke-miterlimit:4; " + "stroke-miterlimit:4; " +
"stroke-opacity:1; " + "stroke-opacity:1; " +
"stroke-dasharray:none;"); "stroke-dasharray:none;");