Masayoshi Kobayashi | 274c07d | 2013-02-20 21:38:16 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <meta charset="utf-8"> |
| 4 | <style> |
| 5 | path.link { |
| 6 | fill: none; |
| 7 | } |
| 8 | circle { |
| 9 | stroke: #333; |
| 10 | stroke-width: 1.5px; |
| 11 | } |
| 12 | |
| 13 | text { |
| 14 | font: 20px sans-serif; |
| 15 | pointer-events: none; |
| 16 | } |
| 17 | </style> |
| 18 | <head> |
| 19 | <title>ONOS GUI</title> |
| 20 | <script src="http://d3js.org/d3.v3.min.js"></script> |
| 21 | <script type="text/javascript" src="js/onos-topology-route.js"></script> |
| 22 | <script type="text/javascript" src="js/jquery-1.7.2.min.js"></script> |
| 23 | </head> |
| 24 | <body> |
| 25 | <svg width="4in" height="2in" |
| 26 | viewBox="0 0 4000 2000" version="1.1" |
| 27 | xmlns="http://www.w3.org/2000/svg"> |
| 28 | <defs> |
| 29 | <marker id="Triangle" |
| 30 | viewBox="0 -5 10 10" refX="15" refY="-1.5" |
| 31 | markerUnits="strokeWidth" |
| 32 | markerWidth="6" markerHeight="6" |
| 33 | orient="auto"> |
| 34 | <path d="M0,-5L10,0L0,5"/> |
| 35 | </marker> |
| 36 | <marker id="TriangleRed" |
| 37 | viewBox="0 -5 10 10" refX="10" refY="-0.2" |
| 38 | markerUnits="strokeWidth" |
| 39 | markerWidth="6" markerHeight="6" |
| 40 | orient="auto"> |
| 41 | <path d="M0,-5L10,0L0,5" fill="red" stroke="red"/> |
| 42 | </marker> |
| 43 | </defs> |
| 44 | <script type="text/javascript"> |
| 45 | gui("http://onosnat.onlab.us:8080/wm/topology/toporoute/00:00:00:00:00:a1/2/00:00:00:00:00:c1/3/json"); |
| 46 | </script> |
| 47 | </svg> |
| 48 | </body> |
| 49 | </html> |