Improved layout for relation tree
Change-Id: I6909cf3cf5a39a9153875e40a84cdef2aa87d28b
diff --git a/dev/demo/relations.html b/dev/demo/relations.html
index 6435fb9..d651988 100644
--- a/dev/demo/relations.html
+++ b/dev/demo/relations.html
@@ -5,7 +5,6 @@
<script data-main="relationsdemo.js" src="../js/lib/require.js" async="async"></script>
<link type="text/css" rel="stylesheet" href="../css/kalamar.css" />
<style>
-
tspan, text {
font-size: 11pt;
stroke-width: 0;
@@ -13,17 +12,32 @@
stroke-opacity:0;
padding-right: 3pt
fill: black;
- }
+ }
+ /*
+ svg.relTree g > text > tspan {
+ text-anchor: middle;
+ }
+ */
g.arcs text {
font-size: 9pt;
fill: blue;
- }
+ }
path {
stroke-width: 2;
stroke: black;
fill: none;
}
-
+ path.anchor {
+ stroke: green;
+ z-index: 20;
+ }
+ marker > path {
+ fill-opacity:1;
+ fill: black;
+ }
+ marker {
+ overflow:visible
+ }
</style>
</head>