SignalSubBus

expandable connector SignalSubBus "Icon for signal sub-bus"
    annotation (
        Icon(
            coordinateSystem(
                preserveAspectRatio = false,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Line(
                    points = {
                        {-16, 2}, 
                        {16, 2}},
                    color = {255, 204, 51},
                    thickness = 0.5), 
                Rectangle(
                    lineColor = {255, 204, 51},
                    lineThickness = 0.5,
                    extent = {
                        {-10, 0}, 
                        {8, 8}}), 
                Polygon(
                    fillColor = {255, 215, 136},
                    fillPattern = FillPattern.Solid,
                    points = {
                        {-80, 50}, 
                        {80, 50}, 
                        {100, 30}, 
                        {80, -40}, 
                        {60, -50}, 
                        {-60, -50}, 
                        {-80, -40}, 
                        {-100, 30}},
                    smooth = Smooth.Bezier), 
                Ellipse(
                    fillPattern = FillPattern.Solid,
                    extent = {
                        {-55, 15}, 
                        {-45, 25}}), 
                Ellipse(
                    fillPattern = FillPattern.Solid,
                    extent = {
                        {45, 15}, 
                        {55, 25}}), 
                Ellipse(
                    fillPattern = FillPattern.Solid,
                    extent = {
                        {-5, -25}, 
                        {5, -15}}), 
                Rectangle(
                    lineColor = {255, 215, 136},
                    lineThickness = 0.5,
                    extent = {
                        {-20, 0}, 
                        {20, 4}})}),
        Diagram(
            coordinateSystem(
                preserveAspectRatio = false,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Polygon(
                    points = {
                        {-40, 25}, 
                        {40, 25}, 
                        {50, 15}, 
                        {40, -20}, 
                        {30, -25}, 
                        {-30, -25}, 
                        {-40, -20}, 
                        {-50, 15}},
                    fillColor = {255, 204, 51},
                    fillPattern = FillPattern.Solid,
                    smooth = Smooth.Bezier), 
                Ellipse(
                    extent = {
                        {-22.5, 7.5}, 
                        {-17.5, 12.5}},
                    fillPattern = FillPattern.Solid), 
                Ellipse(
                    extent = {
                        {17.5, 12.5}, 
                        {22.5, 7.5}},
                    fillPattern = FillPattern.Solid), 
                Ellipse(
                    extent = {
                        {-2.5, -7.5}, 
                        {2.5, -12.5}},
                    fillPattern = FillPattern.Solid), 
                Text(
                    extent = {
                        {-150, 70}, 
                        {150, 40}},
                    textString = "%name")}),
        Documentation(info = "<html>\n<p>\nThis icon is designed for a <strong>sub-bus</strong> in a signal connector.\n</p>\n</html>"));
end SignalSubBus;