// Create an icon for this sensor node.
EditorIcon node_icon = new EditorIcon(this, "_icon");
// The icon has two parts: a circle and an antenna.
// Create a circle that indicates the signal radius.
_circle = new EllipseAttribute(node_icon, "_circle");
_circle.centered.setToken("true");
_circle.width.setToken("sureRange*2");
_circle.height.setToken("sureRange*2");
_circle.fillColor.setToken("{0.0, 0.0, 1.0, 0.05}");
_circle.lineColor.setToken("{0.0, 0.0, 1.0, 0.05}");
_circle2 = new EllipseAttribute(node_icon, "_circle2");
_circle2.centered.setToken("true");
_circle2.width.setToken("20");
_circle2.height.setToken("20");
_circle2.fillColor.setToken("{1.0, 1.0, 1.0, 1.0}");
_circle2.lineColor.setToken("{0.0, 0.5, 0.5, 1.0}");