Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8384165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:20:31+00:00 2026-06-09T17:20:31+00:00

EXAMPLE DIAGRAM Hi, I am not very experienced in UML, so this is probably

  • 0

EXAMPLE DIAGRAM

Hi,

I am not very experienced in UML, so this is probably a very simple question. How can I depict a method call to a different class from a member method call? Or am I supposed to show this?

For example, class Foo has a “FooMethod”. Class Bar has a “BarMethod”. Foo calls FooMethod, which calls BarMethod before returning.

To show this, I draw a self method call in Foo’s lifeline. Then I draw a method call to Bar in the gap between Foo’s self call’s start and end. The diagram in the top link depicts this situation. Is it correct?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T17:20:32+00:00Added an answer on June 9, 2026 at 5:20 pm

    First, a handful of links that I think are relevant:

    self message(non recursive) vs self recursive message

    Difference between types of messages in sequence diagrams

    Drawing Call Flow with sequence Diagram leads to ambiguity

    This is how I would draw what you’re trying to model:

    Example Sequence Diagram with 'recursive' message

    If you read through a number of UML tutorials, you will discover that UML is not an exact science (even though it should be), and there are plenty of interpretations floating around. To make matters worse, different tools give you different implementations of the same concept. As a result of that, two diagrams may look quite different, yet model the same interaction between components.

    For example, return messages are optional for synchronous calls:

    uml 2.0 sequence diagram: is a reply message obligatory when modeling a synchronous message

    My example shows a return line from the ‘recursive’ message. But that could be skipped.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How should I correctly reference protocols on a UML class diagram? For example my
The simplified example this; picture a Venn diagram made from two elements, A and
I am trying to create a tree like node diagram, like the example image
Example: print max(chain_length(i) for i in xrange(1,10001)) This returns the maximum/biggest chain_length (an arbitrary
Example: an Employee table with an optional DateOfBirth field can be normalized into two
I am having trouble correctly modeling related objects that can use templates. This is
I have this existing schema where a schedule table looks like this (very simplified).
I've started learning UML but it confuses me sometimes (for example what i'm allowed
I'm using Enterprise Architect (sparxsystems) to create a UML 2.0 Communication Diagram. I want
When I tried to compile Voronoi_Diagram_2 example I am getting this output: singhg@~/Programming/examples/Voronoi_diagram_2 $

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.