This commit is contained in:
@ -8,7 +8,7 @@
|
||||
import { Node, Color } from '../../lib';
|
||||
|
||||
const serialized_simple
|
||||
= 'bar_foo [label="baz", style="dashed", color="#00ff00"]';
|
||||
= 'bar_foo [label="baz", style="dashed", shape="tripleoctagon", color="#00ff00"]';
|
||||
const serialized_table = `bar_foo [label=<<table>
|
||||
<tr><td>foo</td><td>bar</td><td>baz</td></tr>
|
||||
<tr><td>bar</td><td>baz</td><td>foo</td></tr>
|
||||
@ -21,6 +21,7 @@ describe ('node', () => {
|
||||
|
||||
g.color = Color.green;
|
||||
g.style = 'dashed';
|
||||
g.shape = 'tripleoctagon';
|
||||
|
||||
const serialized = g.toString ();
|
||||
|
||||
|
Reference in New Issue
Block a user